Use an SSH Gateway in MobaXTerm
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'
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.
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.
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.
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.
6. Once connected through the gateway host, the session will require you to enter your password for the destination host.
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.
For immediate help, contact the LTS Help Desk (Hours)
EWFM Library | Call: 610-758-4357 (8-HELP) | Text: 610-616-5910 | Chat | helpdesk@lehigh.edu
Submit a help request (login required)