The Linux Administration group is for the discussion of technical issues technical issues that arise during the administration of Linux systems, including maintaining the operating system and supporting end-user applications.

What about routers/firewalls? Could ssh be blocked anywhere coming into
the network from outside?

Joel Tompkins
ERP Support
Buying the right computer and getting it to work properly is no
more complicated than building a nuclear reactor from wristwatch
parts in a darkened room using only your teeth. - Dave Barry

To check your route do a netstat -rn
Make sure that all the peritnet networks you need to get to are there
otherwise make sure that the routers / firewalls have all the pertinent
routes to your networks.

What are you using for a router? It must be setup to allow port
22 to get through. If it is, then use nmap from a public
location, and see if the port is open. Unless someone has
configured it, and it is a linux box being used as your router,
your sshd.conf could be configured to not allow connection from
outside of your trusted network. The man pages will show you how
to do this.

If SSH works fine within your network then if you're trying ssh from outside
the network, that is trying to ssh in from outside then you won't see any e
rror messages. Because I believe you firewall or router is filtering it.
Did you try a traceroute or even NMAP into your internetwork ........ NMAP w
ill report what's being filtered.
Enter nmap -P0 -p22 (target IPaddress)

Copyright 1998-2015 Ziff Davis, LLC (Toolbox.com). All rights reserved. All product names are trademarks of their respective companies. Toolbox.com is not
affiliated with or endorsed by any company listed at this site.