Results 1 to 7 of 7
could some body help in solving my problem in accessing other host using ssh. Below is the log i am getting when trying to connect to other PC:
debian:/home/sait81# ssh ...
- 11-10-2010 #1Just Joined!
- Join Date
- Nov 2010
- Posts
- 1
ssh problem
could some body help in solving my problem in accessing other host using ssh. Below is the log i am getting when trying to connect to other PC:
debian:/home/sait81# ssh -v 192.168.x.x
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that the RSA host key has just been changed.
The fingerprint for the RSA key sent by the remote host is
d4:38:a5:ca:f9:c2:41:bd:55:82:ba:b6:0d:6a:75:4b.
Please contact your system administrator.
Add correct host key in /root/.ssh/known_hosts to get rid of this message.
Offending key in /root/.ssh/known_hosts:3
RSA host key for 192.168.x.x has changed and you have requested strict checking.
Host key verification failed.
any answer is greatly appreciated
- 11-10-2010 #2
Not to be mean, but *read the output*
It says, that the RSA host key of the server you are trying to connect has changed.
That can happen, if you (for example) reinstalled that box, ot IPs have been moved between hosts.
If you are not aware of a change to the remote server, then this is reason to be alarmed and investigate that host very closely.You must always face the curtain with a bow.
- 11-11-2010 #3Just Joined!
- Join Date
- Jun 2010
- Posts
- 6
if you trust the server you are connecting to...
This message you are seeing is because the hosts public key is different than you previous connection. This may be perfectly safe... perhaps they reinstalled ssh or changed IP's... whatever. If you trust this server, you only need to remove the old host key from you local known_hosts file.
$ cd~
$ vi .ssh/known_hosts
search for the line corresponding to the remote host. It will start with 192.168.x.x and just delete that line. Save the file and reconnect. The next time you connect you will be prompted to accept the servers key, answer" yes" and you should get prompted for authentication. Answering" yes" writes this new key to your known_hosts file.
Good luck,
dufftime
- 11-11-2010 #4Just Joined!
- Join Date
- Feb 2009
- Posts
- 22
- 11-11-2010 #5Just Joined!
- Join Date
- Sep 2008
- Posts
- 20
You are probably connecting to a server where something changed (i.e. IP address, NIC, or merely ssh pvt key/fingerprint).
Anyway, if you are sure that this is correct, simply edit your file /root/.ssh/known_hosts, remove line #3 and save.
Then try to reconnect and answer yes to the question "The authenticity of host 'machine-name (192.168.x.x)' can't be established. ... RSA key fingerprint is ....
Are you sure you want to continue connecting (yes/no)?"
Have a nice day.
G.
- 11-14-2010 #6Just Joined!
- Join Date
- Apr 2007
- Posts
- 1
- 11-16-2010 #7


Reply With Quote
