Trouble Connecting to Mac via SSH

Korey Hinton –> My Blog –> Mac –> Trouble Connecting to Mac via SSH

April 26, 2014

For the longest time I couldn't connect to my Mac via SSH. This seemed to start happening after I upgraded to Mavericks. Even though the Sharing settings found in System Preferences says "To login to this computer remotely, type ssh koreyhinton@192.168.1.105". It would never work even though I made sure my username was added under Allow Access For user accounts and I had made sure Remote Login was checked to be enabled. The green circle shown by Remote Login:On gave me a false sense that everything was set-up to go. But there was actually one more change that needed to happen before it could work.

media/firewall.png
The last thing that needed to be changed was the Firewall Settings in System Preferences > Security & Privacy > Firewall. I had turned on the firewall not knowing that it would block ssh connections. Once I turned off the firewall everything worked fine. I could now do ssh koreyhinton@192.168.1.105 from my Linux to my Macbook.
media/sharing.png

Date: 2014-11-14T13:19+0000

Author: Korey

Org version 7.9.3f with Emacs version 24

Validate XHTML 1.0