Skip to end of metadata
Go to start of metadata

This set of instructions walks through making an SSH connection to a host using MobaXTerm's 'jump host' feature. This is helpful when making SSH connections to systems behind firewalls that provide an ssh gateway host, like Lehigh. One potential complication is that credentials for the gateway host may differ from those on the desired destination host. MobaXTerm's interface makes these connections easy.

Note: Since the ssh gateway server is outside the firewall, a VPN connection is _not_ required.
Note Also: MobaXTerm only runs in MS Windows. Macs and Linux users should simply use their native ssh program to make successive connections.

1.  On your desktop system (aka 'client machine'), open MobaXTerm, and enter the name of your desired destination host in the 'Find existing session or server name . . .' box.  For example, I want to connect to 'w3.physics.lehigh.edu'

enter hostname

2.  On entering a hostname and pressing enter, you must choose a protocol. For this, we'll chose 'SSH' by clicking that button in the upper left.

select ssh

3.  In the 'Basic Settings' box, make sure your destination host is listed in the 'Remote Host' box, and enter your username on the system.

set destination host and username

4.  To specify that we want to use an ssh gateway host, we click on the 'Network settings' tab, and enter the name of the gateway host.  In this example, it's 'ssh.lehigh.edu'.  Note that the username is different from that used for the destination host.

specify gateway host name and user name

5.  When you click 'OK' at the bottom of the session settings window, MobaXTerm will ask for the password for the user account on the gateway host.

enter gateway host password

6.  Once connected through the gateway host, the session will require you to enter your password for the destination host.

enter destination host password

7.  Once connected, your session should show you a prompt. The prompts on systems vary, but in the example, you can see both the username, hostname, and current directory displayed before the '$' prompt on w3.physics.lehigh.

session window with prompt