View Single Post
MacsWork

 
MacsWork's Avatar
 
Member Since: May 22, 2005
Location: Closer than you think.
Posts: 2,146
MacsWork is just really niceMacsWork is just really niceMacsWork is just really niceMacsWork is just really niceMacsWork is just really nice
Mac Specs: Performa 6116 2GBSCSI 8MB OS 7.5.3

MacsWork is offline
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.

ie.
ssh username@myserver.dyndns.org

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.

ie.
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 username@myserver.dyndns.org
or if you have a static public IP
ssh -p 10888 username@xxx.xxx.xxx.xxx
QUOTE Thanks