jctsunami
September 6th, 2008, 12:34 AM
I've tried searching the forums/google for a solution but I haven't had much luck.
Basically my ssh server seems to spontaneously change authentication keys every now and then. What will happen is I might be able to successfully get the server key and login and go about as usual. After a couple of minutes however, I'll get kicked off with a message like "connection reset by peer". I will try to log back in and what should go straight to the password dialog doesn't and tells me that the key has changed. I've tried deleting the known_hosts file on the local computer but my correct password doesn't work at all.
What will eventually happen after a couple more minutes is that my repeated attempts will continue to fail until i get another dailog that says the key changed, and this time back to the original key. I should note that the original key matches that in the rsa key file on the server. Also a reset of the network card on the server will also seems to trigger the key to revert to the original correct key.
I know this was just descriptive with little actual output, but I'm hoping someone may have encountered this before. Also I should mention that this seemed to have happened after I assigned it a permanent hostname and IP address. Also I doubt it is a man in the middle attack as ssh claims since the network that connects the server to my remote computer is trusted (school network)
Basically my ssh server seems to spontaneously change authentication keys every now and then. What will happen is I might be able to successfully get the server key and login and go about as usual. After a couple of minutes however, I'll get kicked off with a message like "connection reset by peer". I will try to log back in and what should go straight to the password dialog doesn't and tells me that the key has changed. I've tried deleting the known_hosts file on the local computer but my correct password doesn't work at all.
What will eventually happen after a couple more minutes is that my repeated attempts will continue to fail until i get another dailog that says the key changed, and this time back to the original key. I should note that the original key matches that in the rsa key file on the server. Also a reset of the network card on the server will also seems to trigger the key to revert to the original correct key.
I know this was just descriptive with little actual output, but I'm hoping someone may have encountered this before. Also I should mention that this seemed to have happened after I assigned it a permanent hostname and IP address. Also I doubt it is a man in the middle attack as ssh claims since the network that connects the server to my remote computer is trusted (school network)