5 ms·
A few I can't live without off the top of my head: * "-D" for ssh tunneling. * "-L" for forwarding all traffic on a specific port. * sshfs - mount small dire
by axegon_ 7y ago
A few I can't live without off the top of my head:
* "-D" for ssh tunneling.
* "-L" for forwarding all traffic on a specific port.
* sshfs - mount small directories over ssh on your local machine (works with big ones but way too slow, for big ones I go rsync).
- sullyj3 7y agosshfs is the biggest one for me. Allows you to use all your local tools.
- Piskvorrr 7y agoIf you work with a large tree where a few files at a time change, you may want to look at lsyncd - backed by inotify and rsync, syncs the local changes to remote. Not really suited for interactive edits, but if you find yourself running rsync in a loop, this is a better replacement.
- mercora 7y agoalso: * "-R" for reverse forwarding on a specific address. That is, you can connect from the remote host to your local network. I used to do this to make my system at home accessible on my workstation in the office :) if you don't specify the address to forward to you will get a SOCKS proxy on the port specified that tunnels connections to your local network. It is also possible to forward non local ports but ports on machines accessible to the side that is forwarding too.