Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I try to use ssh to log in to a remote host.

This works for my Ubuntu desktop, however, it fails from my Fedora 14 laptop.

The failure means after I type ssh username@host and pressed Enter, nothing else shows on my screen.

And using ping on the desktop works fine, however nothing returned on my laptop. It seems that the host is not reachable from my laptop.

Both machines are in the same network environment (they share the same home router), except the desktop uses wired connection while the laptop uses wireless.

Besides the host files on both machines have no entry for the host name I want to reach.

Have anyone encountered this kind of error? Any idea?

share|improve this question
    
Is the host in your LAN or external? –  Kevin Dec 11 '12 at 3:23
    
Hi, @Kevin, the host is external –  xiaohan2012 Dec 11 '12 at 9:18
    
I encountered the similar issue. I my case, the SSH connection to server was not possible from an specific system. It was due to the configuration on the server side. Check it by iptables -L on the server. Maybe the server has blocked SSH from your laptop (due to automatic checking in security tools). –  ahmad Dec 11 '12 at 9:59
1  
Please post the output of ssh -vvv user@host for both machines. If even ping doesn't work from your laptop you've got some basic network error. I am thinking of an IPv6 related issue, e.g. Ubuntu falling back on IPv4, while Fedora isn't. –  gertvdijk Dec 11 '12 at 11:01
    
Try a traceroute to the host from each machine –  Kevin Dec 11 '12 at 14:38
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.