Set up port forwarding from a local device (Mac OS X) to the cluster for use in Komodo Edit / Filezilla
Set up port forwarding
This wiki page describes the steps to create a connection between your local device and the cluster, using port forwarding.
To set up port forwarding, use the following command (using calculon as an example, replace 'umcg-accountname' by your own account name):
ssh -L 2000:calculon.hpc.rug.nl:22 email@example.com
If you want to automatically set up port-forwarding every time you log on to the cluster, you can make an alias.
- Navigate to your local home directory
- Open your alias file. If you don't have an alias file yet, make one in your home directory:
- Enter a (new) line in the alias file that includes the port forwarding (replace 'umcg-accountname' by your own account name):
alias calculon='ssh -L 2000:calculon.hpc.rug.nl:22 firstname.lastname@example.org'
Check if port forwarding works
First log in to the cluster with the port forwarding set up.
Then open a new terminal window, and run the following command (replace 'umcg-accountname' by your own account name):
ssh umcg-accountname@localhost -p 2000
You should then be able to log in to the cluster.
!N.B. This should not ask you for a password, if it does the key forwarding was not set up successfully.
Host details for Komodo edit / Filezilla
To use the new connection in Komodo Edit 10, go to
Preferences --> Servers
To use the new connection in Filezilla, go to
Site Manager --> New Site
Then use the following settings to directly transfer files to/from the cluster (in Filezilla) and to directly edit scripts (in Komodo Edit):
username: your umcg-account (umcg-accountname)
password: keep this field empty
logon type (only for Filezilla): key file (browse to point to your local key, use the .ppk format)