SSH: Tips and tricks

I’ve played around with SSH to some extent, and thought I’d write down a few nifty features that I like. Kind of a little follow-up on my Key-based authentication and Accessing ArcHTTP-post. Keep in mind that you have to change things like host and user to fit your appropriate needs.

scp foo user@host:~/bar
# To copy a folder use the prefix -R foo/, like this
scp -R foo/ user@host:~/
ssh -l user host -D 8080
ssh -l user host -L 8080:localhost:80

Leave a Reply