I can't connect via ssh

Germán Racca german.racca at gmail.com
Sat Sep 26 00:42:14 UTC 2009


On Fri, 2009-09-25 at 18:32 -0500, Aaron Konstam wrote:
> On Fri, 2009-09-25 at 16:20 -0300, Germán Racca wrote: 
> > Hi list:
> > 
> > I need to use ssh to transfer data between a PC and a notebook, both
> > with Fedora 11, but the result is, from notebook to PC:
> > 
> > 
> > $ ssh xx.xx.xx.xx
> > ssh: connect to host xx.xx.xx.xx port 22: No route to host
> > 
> > $ ping xx.xx.xx.xx
> > >From xx.xx.xx.xx icmp_seq=11 Destination Host Unreachable 
> > >From xx.xx.xx.xx icmp_seq=12 Destination Host Unreachable
> > >From xx.xx.xx.xx icmp_seq=13 Destination Host Unreachable
> > 
> > >From PC to notebook there is no response.
> > Please can anybody help me?
> > 
> > Abrazos,
> > Germán.
> > 
> Is the host reachable. Ping the host and see if it is there. Run the
> host command on the ip.address and see if it is identified. I assume you
> can reach other sites. It sounds like the networking on one of your
> machines is not operational, What does networkmanager say? 
> > 

Hi all,

First of all I want to say a huge thank you for your messages. As I do
not understand sometimes very well what are you talking about, I'm going
to give you some basic information that I understand.

The network I'm using is in a research institute, so I'm not on the
control of the network connection, and the machines aren't directly
connected by a cable. I can ping to other machines and connect to other
sites, the problem is when I ping from one to the other, as I said in my
first message.

[german at centauri ~]$ ping localhost
PING centauri.das.inpe.br (127.0.0.1) 56(84) bytes of data.
64 bytes from centauri.das.inpe.br (127.0.0.1): icmp_seq=1 ttl=64
time=0.038 ms
64 bytes from centauri.das.inpe.br (127.0.0.1): icmp_seq=2 ttl=64
time=0.042 ms
64 bytes from centauri.das.inpe.br (127.0.0.1): icmp_seq=3 ttl=64
time=0.043 ms
^C
--- centauri.das.inpe.br ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2851ms
rtt min/avg/max/mdev = 0.038/0.041/0.043/0.002 ms

The same result is obtained when I ping localhost in the other machine
(the notebook). The network is operacional on both machines.

[german at centauri ~]$ sudo ethtool eth0
[sudo] password for german: 
Settings for eth0:
	Supported ports: [ TP MII ]
	Supported link modes:   10baseT/Half 10baseT/Full 
	                        100baseT/Half 100baseT/Full 
	Supports auto-negotiation: Yes
	Advertised link modes:  10baseT/Half 10baseT/Full 
	                        100baseT/Half 100baseT/Full 
	Advertised auto-negotiation: Yes
	Speed: 100Mb/s
	Duplex: Full
	Port: MII
	PHYAD: 1
	Transceiver: internal
	Auto-negotiation: on
	Supports Wake-on: pumbg
	Wake-on: d
	Current message level: 0x00000001 (1)
	Link detected: yes

The firewall is configured as it was when I upgraded to Fedora 11 in
both machines, I haven't modified anything.

[german at centauri ~]$ sudo service iptables status | egrep ":22 "
4    ACCEPT     tcp  --  0.0.0.0/0            0.0.0.0/0           state
NEW tcp dpt:22 

I hope this can help you.
Germán.

-- 
Germán A. Racca
National Institute for Space Research (INPE)
São José dos Campos - SP - Brasil
http://gracca.wordpress.com
http://tinyurl.com/SkyTux




More information about the users mailing list