Thursday, December 13, 2007

Accessing stuff at home from work

Ok, so you've been good and disabled all open ports at home but port
22 (ssh) and you've set it up to only allow access with a certificate
(no username/password) and you've renumbered the port to something
else like 1234. How do you copy files back and forth between home and
work without resorting to the command line and SCP?

Here's how:

From the terminal do this:
sudo ssh -p 1234 myhomecomputer.bounceme.net -l myname -L
8000:127.0.0.1:548

Now in finder Command-K (Connect to server) and enter this:
afp://localhost:8000

Substitute your own remapped ports, your local user name and your home
computer URL or IP address.

No you can drag and drop like its local and SSH will deal with the
security for you.

0 comments: