On Thursday, July 7 at 17:43 (-0700), Grant said:
>
> Yeah I don't get it. Check this out:
>
> $ ping google.com
> PING google.com (74.125.224.84) 56(84) bytes of data.
> 64 bytes from 74.125.224.84: icmp_req=1 ttl=55 time=97.1 ms
> 64 bytes from 74.125.224.84: icmp_req=2 ttl=55 time=97.1 ms
> 64 bytes from 74.125.224.84: icmp_req=3 ttl=55 time=97.5 ms
> ^C
> --- google.com ping statistics ---
> 3 packets transmitted, 3 received, 0% packet loss, time 5142ms
> rtt min/avg/max/mdev = 97.105/97.268/97.539/0.319 ms
> $ ssh google.com
> ssh: Could not resolve hostname google.com: Name or service not known
>
> - Grant
>
Check your ~/.ssh/config. For example:
$ ssh localhost # works fine, but
$ mv ~/.ssh/config ~/.ssh/config.bak
$ cat -v config.test
Host *
HostName "%h ^H"
$ mv config.test ~/.ssh/config
$ ssh localhost
ssh: Could not resolve hostname localhost: Name or service not known