troubleshooting Question

After changing gateway, ssh stops working

Avatar of Mark
Mark asked on
LinuxNetworkingLinux NetworkingNetwork ArchitectureLinux Distributions
11 Comments1 Solution512 ViewsLast Modified:
I have the following /etc/rc.d/rc.inet1.conf:

# Config information for eth0:

# Config information for eth1:

# Default gateway IP address:

I changed the gateway to (the address of the firewall/router) in order to get port forwarding to work to this computer. That is now working, but I can no longer access the eth0 IP properly from outside the LAN. If I ssh to (which resolves to xx.yy.zz.95) I get not connection and the /var/log/messages file gets an entry, "Apr  2 15:38:50 webserver sshd[10699]: Did not receive identification string from"

I can, however, telnet to this port and get a connection:

telnet 22
telnet xx.yy.zz.95 22

both of these give me a telnet connection.

Likewise I can telnet to port 80, but I can't actually open a web page via my browser, though I don't see an error entry in any webpage.

Does anyone have an idea about what I can do?
Join our community to see this answer!
Unlock 1 Answer and 11 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 11 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros