[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Unable to SSH to localhost



On Fri, 2005-01-28 at 14:01 +0530, Deepak, R. wrote:
> I am using Debian Sarge "testing" with address 172.16.9.8 .
> Today, I found that
>     "ssh 172.16.9.8"
> outputs
>     "ssh: connect to host 172.16.9.8 port 22: Invalid argument"
> immediately.
> 
>     "ssh localhost"
> outputs
>     "ssh: connect to host localhost port 22: Connection timed out"
> after a few minutes.
> 
> /etc/network/interfaces contains:
>     # Used by ifup(8) and ifdown(8). See the interfaces(5) manpage or
>     # /usr/share/doc/ifupdown/examples for more information.
> 
>     auto eth0
>     iface eth0 inet static
>         address 172.16.9.8
>         network 172.16.9.0
>         netmask 255.255.255.192
>         broadcast 172.16.9.63
>         gateway 172.16.9.1

/etc/network/interfaces also needs this:
  # The loopback interface
  auto lo
  iface lo inet loopback

You'll of course have to restart networking...
-- 
-----------------------------------------------------------------
Ron Johnson, Jr.
Jefferson, LA USA
PGP Key ID 8834C06B I prefer encrypted mail.

"Never for the sake of peace and quiet deny your convictions."
Dag Hammarskjold

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: