Skip to content
Christopher P. Brown edited this page Feb 9, 2021 · 2 revisions

ssh

secure shells and tunnels and more oh my

shelling

ssh

copying

Copy a local file to a remote host

scp local-file host:path

e.g.

scp img.png tilde:~

copy a remote file/directory to a local host

scp host:path/to/file local-dir
scp -r host:path/to/dir local-dir

tunneling

forward your irc connection:

ssh -fNL 6667:localhost:6667 user@town

forward your intranet:

ssh -L 12345:localhost:12345 user@tilde.town

Resources

Clone this wiki locally