ssh config

Answered

Hi,

Where does PyCharm get the ssh config information from?  Does it read ~/.ssh/config if it exists?  

 

Why? If the local config file is parsed, I'll use it to get into remote machines via a "bastion" (or "jump") host.  That is, access a remote host via a bastion server using this ssh config construct:

```

#

Host foo-10-0-1-1
hostname 10.0.1.1
ProxyCommand ssh -A -q some.public.dns.bar 'nc -w 14400ms %h %p'

```

12
9 comments
Avatar
Permanently deleted user

Did you ever get a response to this question? I am trying to get PyCHarm to use a jump host as well to get to my main server and I am having no luck 

2

Hello!
Sorry for a late response.

Please clarify what is your OS and PyCharm version?

 

Regards,

Sergey

https://www.jetbrains.com

The Drive to Develop

0
Avatar
Permanently deleted user

I have a question about this too. Using Windows 10 and PyCharm 2018.2.4 and IntelliJ with python plugin 2018.2.4.

 

Where does it read the ssh config file. ~/.ssh/config?

 

Thanks.

1

Hi CS,

Thank you for contacting PyCharm support.

There is a corresponding feature request about it in out issue tracker https://youtrack.jetbrains.com/issue/PY-29427, please vote for it in order to increase priority and follow for future updates. See https://intellij-support.jetbrains.com/hc/en-us/articles/207241135-How-to-follow-YouTrack-issues-and-receive-notifications if you are not familiar with YouTrack.

Kind regards,

Sergey

https://www.jetbrains.com

The Drive to Develop

0
Avatar
Permanently deleted user

Hello Sergey,

Any news regarding this feature request?

It could be very very useful for me.

Thank you,

Nir

 

1
Avatar
Antonina Belianskaya

Hello Pau Ferrerpuig

The feature has not been implemented yet. 

Please vote for the request in order to increase its priority, all features are being prioritised according to a number of votes. 

0

The feature request is to support proxyjump. I believe a better thing would to allow host connections to default through to the specification in ~/.ssh/config 

There everything can be specified using standard process, without JetBrains having to alter their IDEs. I should just be able to give a name or IP address for the server, nothing else required.

Leave some simple overrides in the IDE

Microsoft does good job of ssh access in VS-Code, but not so good a job of Python IDE :-)

2

What about pycharm on ubuntu linux? Does pycharm recognize the .ssh/config?

1

Please sign in to leave a comment.