SSH client to support multiple jump hosts

bar1

Expert Member
Joined
Sep 15, 2008
Messages
4,341
Reaction score
497
Hi, i currently use mobaXterm, and very happy with it.
however sometimes i need to go through 4-5 jump hosts before getting on to the server i want.

Can this be done with moba?or any other software?
 
Are you asking for automatic chained logins? Or just nested jumps
 
There isn’t a better product that Mobaxterm on this planet and I wish they would create a bloody Mac and Linux client because it is that good.

For this trick however you might need to command line it. (Which I seem to recall you can add to a GUI bookmark).
 
Why not just use SSH's ProxyJump or JumpHost directives???
You don't need a fancy client to do this. It's already considered a basic SSH feature.

$ man ssh

-J destination
Connect to the target host by first making a ssh connection to the jump host described by destination and then establishing a TCP forwarding to the ultimate destination from there. Multiple jump hops may be specified separated by comma characters. This is a shortcut to specify a ProxyJump configuration directive.

aka

ProxyJump

$ ssh -J host1,host2,host3 your_final_host

WHY do you specifically need a GUI to do this?!?
 
Why not just use SSH's ProxyJump or JumpHost directives???
You don't need a fancy client to do this. It's already considered a basic SSH feature.

$ man ssh

-J destination
Connect to the target host by first making a ssh connection to the jump host described by destination and then establishing a TCP forwarding to the ultimate destination from there. Multiple jump hops may be specified separated by comma characters. This is a shortcut to specify a ProxyJump configuration directive.

aka

ProxyJump

$ ssh -J host1,host2,host3 your_final_host

WHY do you specifically need a GUI to do this?!?

MobaXterm saves bookmarks and also passwords so it makes things a bit easier to manage.

But like I said in my first post I’m pretty sure you can add the command line to your bookmarks and do exactly what you describe.

Being back on a Mac now it’s the one App I miss from my Windows days as an all in one gateway.

Something to bear in mind is that MobaXterm also does a great many other protocols like RDP and SFTP etc so it’s a nice centralised place to work from.

Sure I can setup aliases in my Zsh config file like I’ve done already and while it works it’s not quite as elegant.
 
MobaXterm saves bookmarks and also passwords so it makes things a bit easier to manage.

But like I said in my first post I’m pretty sure you can add the command line to your bookmarks and do exactly what you describe.

Being back on a Mac now it’s the one App I miss from my Windows days as an all in one gateway.

Something to bear in mind is that MobaXterm also does a great many other protocols like RDP and SFTP etc so it’s a nice centralised place to work from.

Sure I can setup aliases in my Zsh config file like I’ve done already and while it works it’s not quite as elegant.

Call me old school, but you shouldn't be saving passwords - and you should be using keys (unless you're referring to the RDP bits),

Mobax is useful in the fact that it easily allows people to tunnel, forward x11 etc - but really it's overkill for something as simple as this.

Personally i'd just set a ssh "~/.ssh/config" file and add my hosts to that - so I can simply connect with a little one liner later - eg:

Host forum
HostName www.mybroadband.co.za
ProxyJump my_user@my_jumhost.com:22
User bob

$ ssh forum
 
Call me old school, but you shouldn't be saving passwords - and you should be using keys (unless you're referring to the RDP bits),

Mobax is useful in the fact that it easily allows people to tunnel, forward x11 etc - but really it's overkill for something as simple as this.

Personally i'd just set a ssh "~/.ssh/config" file and add my hosts to that - so I can simply connect with a little one liner later - eg:

Host forum
HostName www.mybroadband.co.za
ProxyJump my_user@my_jumhost.com:22
User bob

$ ssh forum

The passwords are encrypted. In fact they are more secure than the keys stored on most machines for SSH.

You can also share them transparently and safely with others in your Organization.

And you can’t always dictate to customers how you want to connect so you take what they give you.

And of course you can use keys along with passwords.

And yes it refers to RDP as well.

Command line is fine when you connect to a handful of things irregularly. MobaXterm comes into play when you have tens of different connections of different types all in one place and grouped etc.

I recall having 80 or so connections when I still used it.

Command line would only cover a hand full of them being SSH. The rest would need something in a GUI regardless so why not just put them all there.
 
what is the best ssh manager for linux?
is there anything like moba or iterm?
 
Top
Sign up to the MyBroadband newsletter
X