6
votes
2answers
2k views

Enable ssh-key-only login to my Mac for 1 user

I have a Macbook Air that I would like to allow remote SSH access to without a password. I have created a user called remotepair that I have logged into and verified I can used the Mac with. I have ...
1
vote
1answer
937 views

Firewall denies sshd-keygen-wrapper despite configuration

After upgrading to Lion, I cannot connect via SSH. I get a timeout: $ ssh -o ConnectTimeout=5 not.my.actual.hostname ssh: connect to host not.my.actual.hostname port 22: Operation timed out In ...
7
votes
3answers
22k views

How to restrict “Remote Login” (ssh) access to only certain IP ranges?

Can someone please tell me how to restrict SSH access only to certain IP ranges (e.g. local network) and not the whole Internet? I guess this has to be done via firewall.