Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm having issues with a machine that stopped replicating with mysql. It's managed by a guy on another continent but recently I've had to get involved.

The server is running Ubuntu server 9.10

I can't log in with SSH, there is no response. On the server itself I can ssh to localhost fine.

I thought maybe it's the firewall rules. I'm no expert on IP Tables, but I believe that's not the issue as I removed all the rules. But it still won't let me in.

Any ideas? it's acting from other machines as though the service isn't listening, but I know that it is. It's like this for all services.

share|improve this question
    
Are these on the same subnet? If not, run a tracepath from each side to the other and post results, may help. –  ManiacZX Mar 22 '10 at 23:01
    
No the server I was accessing with and the server are in different networks. Turns out the other guy changed the default gateway. –  Matt Jun 14 '10 at 5:47
add comment

3 Answers

up vote 1 down vote accepted

Is the default gateway set correctly on the server?

share|improve this answer
    
Turns out this was the problem. What I didn't count on was another person changing the default gateway. –  Matt Jun 14 '10 at 5:46
add comment

Try ssh on the local box to it's LAN IP as localhost most likely was 127.0.0.1.

Just in case sshd is configured to only listen on 127.0.0.1 for some reason.

You can check /etc/ssh/sshd_config for the ListenAddress setting to confirm. It should either be commented out, 0.0.0.0 or the actual IP you want it to listen on.

share|improve this answer
    
It was commented out. Changed it to 0.0.0.0... discovered that I can now access it from just one machine on the network, I think my firewall is now getting in the way but astaro isn't showing anything in it's logs. –  Matt Mar 22 '10 at 23:52
add comment

You should run through the standard networking debugging steps
1. Do I have an ip address (ifconfig)
2. Can I ping my Gateway (ping x.x.x.x where x.x.x.x is the gateway)
3. is my service running and listening on a port accessable to the world(netstat -lnp | grep ssh )
4. is my firewall blocking this port (iptables -L)

share|improve this answer
add comment

Your Answer

 
discard

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.