A problem with ssh connection
I have a computer running Linux at my home. Of course, I am the administrator.
I often use ssh to connect to it when I am in my office everyday. No problems have arised for a very long time (about a year). But today when I try to connect to my system, it gave me the following warning, Quote:
So, is there really such a possibility of me being attacked by a "man in the middle"? Are there any chances that my system change its RSA host key by itself? And what should I do now? I need to connect to my system everyday. Please help! |
If your office PC has changed (new NIC? IP Address?), or your network admin has changed the NAT'ted address of what's going to the outside world (i.e., the internet, back to your house), the SSH info is going to have changed. Network-related things, such as IP and MAC addresses, are going to relate to your SSH key. Anything changes, and it'll give you this message.
Go onto your linux box at home, and edit your $HOME/.ssh/known_hosts, and remove the IP address that's related to your work PC. You should be able to connect then. Of course, you SHOULD check your system, and make sure that no one else has logged in and done something.... |
This morning, I also tried to connect to my linux system at home from my friend's home computer. And I got the same warning! I am very sure that I've succeeded to connect to my computer at my friend's home without this warning for not more than 2 weeks ago. So does this mean that the problen is not associated with my office network, but my home linux box instead? And what else I should check? I am worried about the "man-in-the-middle attack".
|
Quote:
|
I don't know what DHCP address is. But for the external IP. That certainly remains unchanged.
By the way, how can I check out what you've said? What command to use? |
Quote:
If you want to check addresses and such, look at the man page for ifconfig. In your case, I'd just suggest going on to your linux box, and removing the entries in the $HOME/.ssh/known_hosts file, and letting your external connections rebuild. You might also have to do that on your remote systems too, such as you work PC. Until you find out what caused your network changes, be prepared to do this again, next time something changes. |
All times are GMT -5. The time now is 04:35 PM. |