I searched and didn't find, and had to figure stuff out... I hope to save you the trouble.

Wednesday, June 24, 2009

Enable SSH into your Mac at home

1. Get an account from dyndns.org
2. Install the DynDns updater on the home Mac
3. Configure the DSL modem to bridged mode (not computer does PPPoE)
4. Configure the router to do PPPoE
5. Configure the router to forward TCP/UDP port 22 to the Mac
6. Configure SSH not to accept passwords in /etc/sshd_config
PasswordAuthentication no
ChallengeResponseAuthentication no
UsePAM no
7. Generate public/private keys for the remote machines
8. Add the remote machines' public keys to ~/.ssh/authorized_keys
9. Enable remote login on the sharing pref panel

No comments:

Post a Comment

Followers