Networking Forums

Networking Forums > Computer Networking > Linux Networking > Problems with sshclient

Reply
Thread Tools Display Modes

Problems with sshclient

 
 
Daniel Camps
Guest
Posts: n/a

 
      12-06-2004, 05:27 PM
I have a machine in my LAN running a SSH server, I want to connect
from another machine to that one doing an ssh, and I get the following
error:

[]$ ssh 192.168.0.1
ssh: connect to host 192.168.0.1 port 22: No route to host

I have connectivity to that machine :

[]$ ping 192.168.0.1
PING 192.168.0.1 (192.168.0.1) 56(84) bytes of data.
64 bytes from 192.168.0.1: icmp_seq=0 ttl=64 time=0.986 ms
64 bytes from 192.168.0.1: icmp_seq=1 ttl=64 time=0.431 ms

So what's the problem, why is SSH complaining about the connectivity
when there is connectivity ?
I have tested the SSH server in my server machine just by doing "ssh
127.0.0.1", and is working, so the problem seems to be in the client
part.

Any idea ?

Thanks a lot !
 
Reply With Quote
 
 
 
 
David Efflandt
Guest
Posts: n/a

 
      12-10-2004, 07:53 AM
On 6 Dec 2004 10:27:12 -0800, Daniel Camps <(E-Mail Removed)> wrote:
> I have a machine in my LAN running a SSH server, I want to connect
> from another machine to that one doing an ssh, and I get the following
> error:
>
> []$ ssh 192.168.0.1
> ssh: connect to host 192.168.0.1 port 22: No route to host
>
> I have connectivity to that machine :
>
> []$ ping 192.168.0.1
> PING 192.168.0.1 (192.168.0.1) 56(84) bytes of data.
> 64 bytes from 192.168.0.1: icmp_seq=0 ttl=64 time=0.986 ms
> 64 bytes from 192.168.0.1: icmp_seq=1 ttl=64 time=0.431 ms
>
> So what's the problem, why is SSH complaining about the connectivity
> when there is connectivity ?
> I have tested the SSH server in my server machine just by doing "ssh
> 127.0.0.1", and is working, so the problem seems to be in the client
> part.


Your firewall on the sshd box may be blocking. If it was a hosts.allow or
hosts.deny problem or the sshd box could not find a name for your IP, I
would suspect it would say "connection refused" instead.
 
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems staying connected to server 2003 over XP + Acquiring Network Adress display problems wolverinegod Windows Networking 1 10-18-2006 01:32 PM
Printer problems continue. Was: Printer problems. What am I doin wrong. David Lawson Wireless Internet 3 01-12-2005 11:38 PM
I think I have networking problems, that is causing GPO problems Dave Marden Windows Networking 0 02-05-2004 11:12 PM



1 2 3 4 5 6 7 8 9 10 11