Grant writes:

> I'm not able to ssh to any domain, although IPs work.  I get:
> 
> $ ssh example.com
> ssh: Could not resolve hostname example.com: Name or service not known
> 
> I can ping domains no problem, and web browsing works.  I've tried
> rebooting and re-emerging openssh.  I am connected to an unfamiliar
> wireless network (with no alternative right now) but I could ssh to
> domains no problem over this network before.  Does this make sense to
> anyone?

I'd compare the output of strace ping <host> and strace ssh <host>. Anything 
in nsswitch.conf? It seems to be used by ssh, but not by the host command. 
Which is new to me.

Any recent changes in ~/.ssh/config or /etc/ssh/ssh_config?

Normally I'd say this just can't happen...

        Wonko

Reply via email to