Skip to content

ssh

OpenSSH SSH client (remote login program)

Sync data from example.net:/home/me/src to /home/me using ssh.
rsync -avz -e ssh me@example.net:/home/me/src /home/me
Open an ssh session to example.net.
ssh username@example.net
Open an ssh session to example.net via port 443.
ssh me@example.net -p 443
Run command ls -l /home on example.net.
ssh me@example.net ls -l /home
Establish an ssh SOCKS4 and SOCKS5 tunnel on local port 8888 to example.net.
ssh -D 8888 -fCqN sam@example.net
Establish an SSH tunnel on 127.0.0.1 8080 to example.net 80.
ssh -L 8080:127.0.0.1:80 example.net
Open Firefox using "my_socks_profile" and establish a SOCKS tunnel on localhost 8081.
firefox -P my_socks_profile -no-remote & ssh -D localhost:8081 smith@example.net