On 5/9/07, Jan Andersen <[EMAIL PROTECTED]> wrote:
Or rather, it seems to hang when I try. This is what I do (I am on host asbo):
$ ssh asbo
Try
ssh -v asbo
That will give you some messages that may indicate at which point it
is hanging. I would suspect that since it is just hanging that you
have one of the following problems:
- the host was re-ip'd at one time and there is an old entry in
/etc/inet/ipnodes or /etc/inet/hosts
- there is a firewall rule that causes the packets to be dropped
rather than making it to sshd.
- /etc/nsswitch.conf has no entry for ipnodes and the hosts entry
looks like "hosts: files dns". The DNS configuration is such that it
cannot resolve "asbo" (after it couldn't find asbo in
/etc/inet/ipnodes, before it even starts looking at /etc/inet/hosts)
and you are too impatient to wait for the name loookup to timeout.
A good way to check what "asbo" is being resolved to (if it even is)
is the following:
$ getent ipnodes asbo
$ getent hosts asbo
HTH,
Mike
--
Mike Gerdts
http://mgerdts.blogspot.com/
_______________________________________________
networking-discuss mailing list
[email protected]