Member Since: May 22, 2005
Location: Closer than you think.
Mac Specs: Performa 6116 2GBSCSI 8MB OS 7.5.3
01-29-2012, 08:43 AM
Back to port forwarding,...
SSH uses port 22. You would need a static IP on your Mac and access to configure the firewall that connects you to the internet. Then forward port 22 to that IP in the firewall.
If your internet does not have a static IP then you may want to employee a free dynamic DNS service such as DynDNS.org so that you can use host name resolution.
Just know that ssh access to a computer will give the user that connects, full file system rights. Even though you say you are aware of the security concerns, open port 22 to the public should be done with caution. Some firewall will do port redirection. This can protect the identity of a port like 22.
Set the firewall to redirect port 10888 to 22 (or anything over 1024 and below 65000) This way a port scan will not show that 22 is open.
ssh -p 10888 email@example.com
or if you have a static public IP
ssh -p 10888 firstname.lastname@example.org