Skip to content

Latest commit

 

History

History
25 lines (18 loc) · 1017 Bytes

ssh.md

File metadata and controls

25 lines (18 loc) · 1017 Bytes

SSH

SSH is the Secure Shell, a cryptographic network protocol. It uses public-key cryptography to authenticate the remote computer and optional user name. The user must prove his/her identity to the remote machine. SSH is typically used to log into and execute commands in a remote machine .

Basic syntax, will prompt for password:

$ ssh <remote_user>@<remote_host>

Commonly if you are using AWS you will SSH while also passing your private key, using the -ioption

$ ssh -i ~/.ssh/key.pem -tt [email protected]

SSH tunneling for jupyter notebooks

$ ssh -N -L localhost:8888:localhost:8888 <remote_user>@<remote_host>

More details: