Index of /software/osx-ssh-tunnel

Icon  Name                    Last modified      Size  Description
[DIR] Parent Directory - [DIR] screenshots/ 05-May-2010 14:35 - [TXT] tunnel.sh 05-May-2010 14:12 1.1K
Mac OS X script to open ssh from ssh://jerkface.net

This script will make it possible for jerkface.net to connect to your machine whenever it is on the internet, even if it is behind a firewall. It pierces firewalls using an ssh forwarded port. It does not grant any access to your machine, but only makes it possible to connect. In order to grant access, see “Adding a new user account to your computer” on docs.info.apple.com and “sharing.png” from “SSH on Mac OS X” on stocksy.co.uk/.

tunnel.sh will install a file named net.jerkface.net.ssh.tunnel in ~/Library/LaunchAgents/ and load it into launchd. To uninstall, delete “~/Library/LaunchAgents/tunnel.sh”.

  1. Save tunnel.sh in your home directory (the directory with the picture of the house, which may be named with your name).

  2. Open Terminal by going to Finder and and typing “Terminal”, then clicking the picture of the monitor with the prompt under “Applications” (labelled “Terminal”).

  3. Within Terminal, type “sh tunnel.sh” (and then press Enter) to run the installer.

  4. That's it! Your firewall is pierced: ssh connections are available from jerkface.net.