Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
12-30-2004, 11:30 PM
|
#1
|
LQ Newbie
Registered: Dec 2004
Distribution: Fedora
Posts: 1
Rep:
|
no route to host
OK... I'm stumped. I can ping my host 192.168.2.150. My host can ping me. However, when I open a SSH session to host (or any session for that matter which are TCP), I get the miserable, "no route to host" from my workstation.
This is a fresh install. The network seems fine from a ping perspective. Any advice? Anyone seen this before? Is it me, or have I lost some basic network troubleshooting fundamentals?
Blah,
Chris
|
|
|
12-30-2004, 11:45 PM
|
#2
|
LQ Addict
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704
Rep:
|
This is rare to see no route to host, I'd expect timeouts instead. But in any case, edit /etc/hosts and windows host file to include ip's of your workstatations, it is most probably DNS problem, when you try to ssh to a host that cannot resolve the name of the source and/or its own name it will timeout.
Hope it helps.
|
|
|
12-30-2004, 11:46 PM
|
#3
|
Member
Registered: Mar 2004
Location: Boston, MA
Distribution: SuSE Linux Open/Enterprise, Red Hat, Ubuntu
Posts: 147
Rep:
|
A firewall can easily block incoming connections. Check your firewall and check to see if the SSH daemon is started.
|
|
|
01-01-2005, 09:01 AM
|
#4
|
LQ Newbie
Registered: Dec 2004
Location: Saint-Hubert, Canada
Posts: 26
Rep:
|
smells like firewall issue. be sure port 22 (or other verify your config, use webmin for that it's great) is open to intranet.
also with webmin you can setup easily SSHd.
Then be sure you have a security service (anything that can generate keys public and private of different types (hdmac-5, RSH, KSH, etc.) i'm not used to that, I can't help much) to keep your ssh session secured.
on my windows clients I've been successful using Putty for X11 takeover of my server
I belive the best how-to for you would be one about VPN as SSH is often talked about in it.
I hope this help a bit
happy new year
|
|
|
01-07-2005, 04:57 AM
|
#5
|
Member
Registered: Nov 2004
Location: Pretoria South Africa
Distribution: Fedora Core 2
Posts: 74
Rep:
|
Okay I have the exact same problem, it seems that it has to be on the machien that I am trying to ssh into because I can ssh into another bo on my network, what do I need to configure on the box I can nto get into, I can however ssh from that box to my box????
|
|
|
01-20-2005, 10:45 AM
|
#6
|
Member
Registered: Dec 2001
Location: /mnt/UNV/Mlkway/Earth/USA/California/Silicon Valley
Distribution: Kubuntu, Debian Buster Stable, Windoze 7
Posts: 684
Rep:
|
Try to see if port 22 is open seen from the machine where you cannot login. Use nmap for that. It is not only a portscanner, but also a great security audit tool and connectivity checker:
nmap name-of-the-machine-where-I-cannot-log-in
Nmap is also available for windows and it will show you if port 22 is open.
cheers
Markus
|
|
|
01-21-2005, 05:47 AM
|
#7
|
Member
Registered: Nov 2004
Location: Pretoria South Africa
Distribution: Fedora Core 2
Posts: 74
Rep:
|
Ok, port 22 is open on both achine sbut I still get the same error and can not ssh int the box, but I can ssh into other boxesfine from both systems, just the one machine doesn't seem to allow these sessions...
If I do a nmap localhost I do get the message that port 22 is open for ssh!
|
|
|
01-21-2005, 07:21 AM
|
#8
|
LQ Newbie
Registered: Dec 2004
Location: Saint-Hubert, Canada
Posts: 26
Rep:
|
Make sure SSHd is listening on 192.168.2.150 in your /etc/ssh/sshd_config
if it still aint it send your sshd_config here
|
|
|
02-02-2005, 12:45 PM
|
#9
|
LQ Newbie
Registered: Apr 2004
Posts: 15
Rep:
|
disable /etc/init.d/iptables
|
|
|
02-02-2005, 03:03 PM
|
#10
|
Member
Registered: Sep 2003
Location: Bucharest
Distribution: Slackware *.*
Posts: 36
Rep:
|
I suggest these steps to see where the trouble is:
1. netstat -tlnp - to see if sshd is listening and on what interface
2. telnet 192.168.x.x 22 ( the host with the ssh server) to see if you can reach ssh daemon
If not - check firewall
iptables -F
iptables -t filter -I INPUT -m tcp -p tcp --dport 22 -j ACCEPT
( you run this from your sshd server)
If telnet succeded go to step 3.
3. If the machine where you are trying has more than one eth try to see if this one is working
ssh -I 192.168.x.y 192.168.x.x ( if ssh client makes the request from another interface by default, and routes are incorectly configured you will get that message that you complain about)
|
|
|
All times are GMT -5. The time now is 01:09 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|