To upload files from your computer to the cluster or download files from the cluster to your computer you can connect to our SFTP server.
This is the preferred method for transferring files to and from the cluster.
The WinSCP software is compatible only with Windows.
Go to this link to download and install WinSCP.
When you start WinSCP you should see the Login window where you can select a configured site or configure a new one.
If you don’t see the Login window you can do one of the following options:
To configure our SFTP server select “New Site” in the left pane and enter the following in the right pane:
If you need to connect from outside of the university without using the university VPN you need to configure a tunnel.
To configure the tunnel press “Advanced” button and select in the left pane “Tunnel” under “Connection” and enter the following:
Select “Connect through SSH tunnel”
Press “OK” button to save
Now press the “Save” button to save site configuration.
You can now press the “Login” button. The first time you login you will need to accept the host key.
If you have a MacOS or Linux operating system you can use the sftp command.
Open a terminal window and enter this command:
sftp ftp.rcs.huji.ac.il
Press enter and then enter your cluster password (IDNG).
If connecting from outside of the university add the jump server to the sftp command:
sftp -J your-user-name@bava.cs.huji.ac.il ftp.rcs.huji.ac.il
You will need to enter OTP password and IDNG password in this case.
Once connected you will see this prompt:
Connected to ftp.rcs.huji.ac.il.
sftp>
To navigate to a folder or list the contents of a folder in the cluster, which is the remote server you are connected to by sftp you can use the usual command - ls, cd, pwd
For example:
sftp> pwd
Remote working directory: /sci/home/your-user-name
To do the same on your local computer when connected just add the letter L before the command - lcd, lls, lpwd.
For example:
sftp> lpwd
Local working directory: /home/your-local-user-name
To upload files or folders use the “put” command
sftp> put file-name-to-upload.zip
This command will upload the file to your current directory in the cluster. You can check in which folder you are in with the command “pwd”. To upload to another folder add the path after the file name.
sftp> put file-name-to-upload.zip /sci/labs/your-lab-folder
To upload a folder add the r flag:
sftp> put -r folder-name-to-upload
If upload process was interrupted you can resume upload with “reput” command:
sftp> reput file-name-to-upload.zip
To download files and folders from the cluster to your computer use the command “get”
Download a file:
sftp> get file-name-to-upload.zip
Download a folder:
sftp> get -r folder-name-to-upload
Resume download:
sftp> reget file-name-to-upload.zip
To see all available commands in sftp enter the command “help” or question mark (?).
sftp> help
When finished uploading or downloading use the command “exit” or “quit":
sftp> exit