Mount SSH using MacFUSE
1 mkdir -p ~/mnts/formandfx 2 sshfs kmarsh@formandfx.com: ~/mnts/formandfx -oping_diskarb,volname=formandfx
DZone Snippets > willcodeforfoo > ssh
13402 users tagging and storing useful source code snippets
Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world
1 mkdir -p ~/mnts/formandfx 2 sshfs kmarsh@formandfx.com: ~/mnts/formandfx -oping_diskarb,volname=formandfx
1 ssh-keygen -t rsa -b 2048 2 3 scp .ssh/id_rsa.pub user@remote.box:~ 4 ssh user@remote.box 5 chmod 700 .ssh 6 cat id_rsa.pub >> .ssh/authorized_keys 7 chmod 600 .ssh/authorized_keys 8 rm id_rsa.pub
1 2 ssh -C -L [port]:[internal hostname of machine]:[port] [public machine]