cna't ssh localhost

2005-02-24 Thread Jed Clear
Just off the top of my head, check that your DNS is working.  My guess
is that the sshd is trying to do a reverse DNS lookup, when you have the
network configured.  It takes a long time for a DNS lookup to time
out.

Try the ssh, wait at least 30 seconds (the DNS time out, IIRC).  If it
succeeds then, it's likely DNS related.

-Jed
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: cna't ssh localhost

2005-02-24 Thread Lowell Gilbert
Eugene M. Minkovskii [EMAIL PROTECTED] writes:

 $ ssh 127.0.0.1
 
 But connection hang up, of course, I can't do ssh from gateway
 (172.16.0.1) to localhost (172.16.0.2) too.

Try ssh -v and let ssh tell you what the problem is.

It's almost certainly DNS-related, as other messages have mentioned,
but there are a few possibilities as far as the specifics.

-- 
Lowell Gilbert, embedded/networking software engineer, Boston area
http://be-well.ilk.org/~lowell/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


cna't ssh localhost

2005-02-23 Thread Eugene M. Minkovskii
Hi, I'm in trubble now, and don't know what to think about...

I'm install FreeBDS 5.3. stable from DVD iso. This is fresh
system: I'm not recompile the kernel and working with GENERIC
kernel. This means that I don't use any firewall and ip filter.

Now, I configure net interface in  /etc/rc.conf:

...
ifconfig_rl0=inet 172.16.0.2  netmask 255.255.255.252
defaultrouter=172.16.0.1
...

then I type following

$ ssh 127.0.0.1

But connection hang up, of course, I can't do ssh from gateway
(172.16.0.1) to localhost (172.16.0.2) too.


# BUT! #


If I comment line with defaultrouter in rc.conf:

...
ifconfig_rl0=inet 172.16.0.2  netmask 255.255.255.252
#defaultrouter=172.16.0.1
...

and reboot, connecion working good: ssh 127.0.0.1 work, and ssh
from gateway to local mashine work good.

If I, after that type manually

$ sudo route add 0.0.0.0 172.16.0.1

connection to loop interface hangs again.

Have you any ideas?

-- 
Sensory  yours, Eugene  Minkovskii
 ,
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]