Enhanced ssh server configuration
已回答
Hi
I've been using DBeaver for maintaining databases and I do like the way you can define a path to a server for ssh tunneling, the number of servers between you initial connection and the final server does not matter, you can just keep adding them till you reach the server needed.
Is there any chance that phpStorm will get something similar?
https://dbeaver.com/docs/dbeaver/SSH-Configuration/
Jules
请先登录再写评论。
We don't have a UI section dedicated to this set of settings, but you may alternatively use the SSH configuration section for this purpose
https://www.jetbrains.com/help/datagrip/configuring-ssh-and-ssl.html#connect-to-a-database-with-ssh-procedure
Hi Aleksander
I probably did not make myself very clear.
It would be nice to be able to define a path of ssh servers to reach the final server where the code needs to be placed on upload. This sort of need is getting very common these days as live and test servers are placed behind jump servers for extra security or as a way of getting into load balanced servers.
DBeaver has a very nice example of configuring a multiple ssh servers that produce a path to the final needed server. Just to be clear I am using the ssh config in DBeaver as an example.
It would be great if PhpStorm had similar capabilities in the ssh configuration, at the moment only one server can be configured, not a string of them.
J Blundell ,
Have you got a change to take a closer look to SSH Configuration? At the moment IDE supports OpenSSH configs along with Proxy set up.
I hope it would cover all your needs.
Hi vasily chernov
What I am talking about is the ability to ssh through a chain of jump servers of arbitrary length.
Here is how DBeaver does it, its very useful.
Note you have the final server at the top with 1 or more jump servers to reach the final server.
Securing the main servers behind a jump server is not unusual these days and it would be good to be able to define the path.
Jules
I see, DBeaver allows to configure it via UI.
DataGrip and all JetBrains IDEs rely on ssh config as it described here https://wiki.gentoo.org/wiki/SSH_jump_host
As a basic example of configuration file (
~/.ssh/config
):Hi
Thanks for all the workarounds, I shall add them to my workarounds.
Would have liked solutions within phpStorm but it's obviously not a priority.
Jules
Yes, it's a bit more complicated and more configuration-as-a-code style.