On this page
The ssh command is available natively on Linux and macOS. On Windows, you can also run it in CMD, PowerShell, or WSL.
Creating an SSH connection to a Linux server
ssh -J username@vpn.esc.biu.ac.il:2222 username@planet.cs.biu.ac.il
Copying a file with SCP
scp -o ProxyJump=username@vpn.esc.biu.ac.il:2222 localfilename username@planet.cs.biu.ac.il:remotefilename
or
scp -o ProxyJump=username@vpn.esc.biu.ac.il:2222 username@planet.cs.biu.ac.il:remotefilename localfilename
Advanced users can streamline connections by adding an appropriate entry to ~/.ssh/config, using the User and ProxyJump directives.
Creating a tunnel for an RDP connection to a Windows server
ssh -f -N -L 13389:[IP address/Hostname of destination Server]:3389 -l [Your User Name] vpn.esc.biu.ac.il -p 2222
connect by RDP client to localhost:13389
Creating an SSH tunnel to avoid entering the verification code multiple times
ssh -f -N -L 3333:[IP address/Hostname of destination Server]:22 -l [Your User Name] vpn.esc.biu.ac.il -p 2222
ssh [Your User Name]@localhost -p 3333
Authentication
When connecting, you will be asked for your password, possibly more than once, and the current one-time code from your authenticator. If you are unfamiliar with the code, see the VPN and MFA guide.

