LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Problem with sftp (https://www.linuxquestions.org/questions/linux-newbie-8/problem-with-sftp-192169/)

nature_priyan 06-10-2004 11:48 PM

Problem with sftp
 
Hi friends,
I am using RH 9, while i am trying to connect to my nearby system with the command sftp, i am getting this warning message.

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: HOST IDENTIFICATION CHANGED @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

may be some one eavesdropping you.

host key has been changed.

Add correct host key in /rooot/.ssh/known_hosts

Host key verification failed.

connection refused by peer.



What is the Problem?


yours,
nature_priyan.

shubb 06-11-2004 01:31 AM

This means that the SSH key on the remote machine has changed for some reason. To fix this, edit the specifed file, and find the entry for the host that you are trying to sftp to, and delete the whole line and save the file. Then connect again to the host and it will ask you if you want to accept the key. Say yes, and you should be fine.

nature_priyan 06-11-2004 05:02 AM

Thanks for your reply,
It is working perfectly.
yours,
nature_priyan


All times are GMT -5. The time now is 09:44 PM.