Jazmin and Julie recently introduced me to a helpful program for Windows called “MobaXterm” that has significantly sped up my workflow when running remotely on the Cube (our cluster here at Cornell). MobaXterm bills itself as an “all in one” toolbox for remote computing. The program’s interface includes a terminal window as well as a graphical SFTP browser. You can link the terminal to the SFTP browser so that as you move through folders on the terminal the browser follows you. The SFTP browser allows you to view and edit files using your text editor of choice on your windows desktop, a feature that I find quite helpful for making quick edits to shell scripts or pieces of code as go.
You can set up a remote Cube session using MobaXterm with the following steps:
- Download MobaXterm using this link
- Follow the installation instructions
- Open MobaXterm and select the “Session” icon in the upper left corner.
- In the session popup window, select a new SSH session in the upper left, enter “email@example.com” as the name of the remote host and enter your username.
- When the session opens, check the box below the SFTP browser on the left to link the browser to your terminal
- Run your stuff!
Note that for a Linux system, you can simply link your file browser window to your terminal window and get the same functionality as MobaXterm. MobaXterm is not available for Mac, but Cyberduck and Filezilla are decent alternatives. An alternative graphical SFTP browser for Windows is WinSCP, though I prefer MobaXterm because of its linked terminal/SFTP interface.
For those new to remote computing, ssh or UNIX commands in general, I’d recommend checking out the following posts to get familiar with running on a remote cluster:
- Introduction to remote computing and basic UNIX commands
- Improving SSH (for use in a terminal program like cygwin)
- Useful UNIX commands for quickly editing data files
- Tips for Bash submission scripts
- Barney’s Series on parallelization using MPI