I can't connect via ssh

Germán Racca german.racca at gmail.com
Fri Sep 25 21:25:58 UTC 2009


On Fri, 2009-09-25 at 13:41 -0700, Aldo Foot wrote:
> On Fri, Sep 25, 2009 at 12:20 PM, Germán Racca <german.racca at gmail.com> 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?
> ______
> 
> is this problem with ssh only?
> presumably you have a connection to the internet.
> 
> and thus the NIC is up
>       # ifconfig | grep UP
> 
> on both machines, what do you get with:
>       # iptables -L | grep ssh
> 
> check that the sshd service is running
>       # service sshd status
> 
> ~af
> 

Hello Aldo,

Thanks for the answer, please find the output of the commands in the
attached text file called 'output'.
-- 
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
-------------- next part --------------
# From PC:

$ sudo ifconfig | grep UP
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          UP LOOPBACK RUNNING  MTU:16436  Metric:1

$ sudo iptables -L | grep ssh
ACCEPT     tcp  --  anywhere             anywhere            state NEW tcp dpt:ssh 

$ sudo service sshd status
openssh-daemon (pid  1554) is running...

# From notebook:

$ sudo ifconfig | grep UP
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          UP RUNNING  MTU:0  Metric:1

$ sudo iptables -L | grep ssh
ACCEPT     tcp  --  anywhere             anywhere            state NEW tcp dpt:ssh 

$ sudo service sshd status
openssh-daemon (pid  1667) is running...


More information about the fedora-list mailing list