Ask a Question related to FreeBSD, Design and Development.
-
Eugene M. Minkovskii #1
cna't ssh localhost
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
óÅÎÓÏÒÎÏ ×ÁÛ, å×ÇÅÎÉÊ íÉÎØËÏ×ÓËÉÊ
Eugene M. Minkovskii Guest
-
cna't view flash contnet no matter what I try
I have been trying for a week - It seems to install OK as Flash shows up on my programs list, but I can't view any flash content - I just get the... -
I cna't see the problem... on simple 25 line of code
what am trying to do is to get it to send some vars to a HTTPSerivce using the "POST" method and I wanted to try the basics out before I started... -
how to set up 'localhost' for IE?
Hi, I have installed phpdev that comes with mysql/phpMyAdmin/php/apache. verything works fine with Netscape but i have trouble setting up IE to... -
finding out localhost :-P
Heres the problem. I have one of my client's site hosted on a crappy server, and i have it running with php+mysql ok, the thing is i need to... -
Something simple!? Sessions - admin.localhost to main.localhost
Hi Why does the following code allow me to keep the same session when in the same sub domain (ie admin.localhost), yet not when I goto another... -
Jed Clear #2
cna't ssh localhost
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 looooong 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
Jed Clear Guest
-
Lowell Gilbert #3
Re: cna't ssh localhost
"Eugene M. Minkovskii" <emin@mccme.ru> writes:
Try "ssh -v" and let ssh tell you what the problem is.> $ 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.
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
[url]http://be-well.ilk.org/~lowell/[/url]
Lowell Gilbert Guest



Reply With Quote

