Quick SSH Howto

I’m putting this here as a reminder to me, but other folks might find it useful.

Let’s say you’ve set up your home server behind a firewall, with a non-standard port active so that you can SSH in and do work from wherever you happen to be. Let’s also say that you want to connect to a shared folder via Appleshare.

Here’s how you route it via SSH.

Open up Terminal and type the following (substituting the obvious for the correct):

ssh you@your.server.com -p portnumber -L 10548:127.0.0.1:548

Then go back to the Finder, hit Command-K to connect to a server, and connect to afp://127.0.0.1:10548

One response to “Quick SSH Howto

Leave a Reply

Your email address will not be published. Required fields are marked *