A problem i’ve been putting up with recently involves my Mac being used for VPN access to my SSH servers. I’d see this in my logs:
debug1: Local version string SSH-2.0-OpenSSH_4.5 debug1: An invalid name was supplied Cannot determine realm for numeric host address
..but was unable to find the fix. I tried UseDNS no within sshd_config, no luck.
However, I’ve stumbled across the answer! On your client Mac, add your server to your /etc/hosts file. With that done, try connecting via SSH again – all fixed!
April 28, 2007



















Horaayy..there are 2 comment(s) for me so far ;)
Chris, nice work. This has been annoying me for weeks, and I had simply assumed that the problem was server side. I had tried UseDNS=no, as you had, etc.
Your solution worked a treat! Thanks!
Hi Tim,
Glad to have helped! As you say, this problem had been bugging me too! Hopefully more people can learn about the fix and resolve their problem :)
All the best,
Chris