ProxyCommand is the least privilege way I am aware of to ssh to machines behind a bastion host. Agent forwarding would work, but continues to allow use of my keys for the duration of my session (vs. just once at initial login), which is more privilege than I wanted to give the bastion. I'd subscribe to Premium if you let me configure ProxyCommands.
Could you guys please provide the exact examples of the ProxyCommands that you use in your setups?
This will help to understand to the variety of cases and what to focus on first.
I need this feature as well. All our servers are behind a bastion server so without ProxyCommand support this SSH client is useless.
Please add this feature.
I specifically bought the subscription for the possibility to import my ssh config file. Without ProxyCommand, it is worthless for me.
The port forwarding can help but it is complicated to put in place with a lot servers.
Ssh <rebound server> ssh <target server>
Proxycommand ssh <rebound server>
I hope it is possible.
Make this possible, please.
+1 for ProxyCommand support.
Jason Proulx commented
@terminussupport port forwarding isn't a feasible replacement for ProxyCommand, we have dozens of servers behind our bastion host, servers are added and removed on a regular basis and so constantly maintaining a list of port forwarding rules doesn't address the problem.
I picked up a pro subscription specifically because of the ability to import my ssh config, but in essence Termius simply uses it as a glorified host list.
ProxyCommand is essential for secure enterprise support, the product is pretty good so far, but without ProxyCommand it's only good enough for hobby purposes.
It is a must-have!
I guess in your case remote port forwarding may do the trick:
1. Go to Port Forwarding section, create a new rule of Remote type.
2. Select your bastion host where it says Host
3. In Port From field specify any port on bastion machine that you would like to use for forwarding.
4. In the destination type in the IP or hostname of the host that is behind a bastion.
5. In Port To type in "22" for SSH.
If everything is right you should be able to run the PF rule.
Now to connect to the desired host create new Host item in Hosts section and enter address of your bastion machine and port that you've specified in Port From field of PF rule.
Please keep in mind that for this method to work the port that you specify in Port From field should be opened for incoming connections.
Hope that helps.
Please add a feature to ssh tunnel through a server to access an internal server. Example:
1. I want to access a friends server which runs on his internal network under 192.168.1.10:22
2. He has another server running on 192.168.1.9:22 which is forwarded to the public
3. Now I have to connect to the second server to acces the first server, but with this feature it would be much easier to acces this server through an ssh tunnel without doing extra work
(WinScP also has this feature implemented)
Ashkan Kiani commented
I use a proxy command to access a computer behind a firewall through an intermediary. It would be nice not to have to ssh twice. Instead the ssh config proxy command enables you to do this
I would really like to have this feature implemented, is there any chance to have it in the near future. Every time I try to move from a portable PC to iPhone/iPad I find many little features that block my attempt. Well this is one of them. And given that this app is the best ssh client so far, I wonder if this time I could finally left the PC at home.
I would really appreciate an honest answer if you (the developers) are considering it.
@william: totally agree with your comment.
+1: see my comment on the VPN request. I wrote that before I saw this request.
Amal Adnan Hammad commented
Mrs Amal Adnan Hammad #FIN#1087168920.sole ownership of SFT #EIN#000 000 000 (Tel:-00871552111890)pobox:-300974 use ,dubai
This is a must have option for real life enterprise installations!
Exactly that's also my need: connect to hosts behind a bastion host.
William Fligor commented
+1 - ServerAuditor is fairly useless for me right now as all of my hosts are behind a bastion host and the extra steps to ssh to the bastion then to the host is a pain.