ssh can't connect after server ip changed
Posted
by
Kery
on Server Fault
See other posts from Server Fault
or by Kery
Published on 2012-11-15T03:18:21Z
Indexed on
2012/11/15
11:07 UTC
Read the original article
Hit count: 196
I have a server with ubuntu installed. After I change the network configuration and restart server, ssh client can't connect server any more. But in the server I can use ssh client to connect itself and the netstat command shows that sshd is listening port 22. And in my computer (win7) ping command is OK to server's new IP.
The configuration in /etc/network/interfaces is:
auto eth0
iface eth0 inet static
address 10.80.x.x
netmask 255.255.255.0
gateway 10.80.x.1
I'm very confused about this. Hope somebody can give me some idea. Thank you in advance!!!
© Server Fault or respective owner