![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to detect failure from batch SFTP and SHELL operations | chengwei | Shell Programming and Scripting | 2 | 05-28-2008 04:32 AM |
| Intermittent Printer connection failure | esh | UNIX for Dummies Questions & Answers | 0 | 12-12-2007 07:30 AM |
| Validate Failure of SFTP in PERL | rahulrathod | Shell Programming and Scripting | 5 | 09-23-2005 05:37 PM |
| ld failure | handak9 | High Level Programming | 2 | 09-29-2004 07:56 AM |
| CPU failure??? | 98_1LE | UNIX for Dummies Questions & Answers | 1 | 01-23-2001 02:38 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
ssh/sftp failure connection
Hello,
I just want to ask regarding the meaning of the error that we got using sftp: Connecting to <TARGET SERVER IP>... @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 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 DSA host key has just been changed. The fingerprint for the DSA key sent by the remote host is <FINGERPRINT>. Please contact your system administrator. Add correct host key in .ssh/known_hosts to get rid of this message. Offending key in .ssh/known_hosts:10 DSA host key for <TARGET SERVER IP> has changed and you have requested strict checking. Host key verification failed. Connection closed Is that saying it has an error in line 10 of the known_hosts file? We are suspecting that it has been corrupted. What we will do is to remove that line (#10) and manually sftp to that target server to set the known_hosts file, then we run the script afterwards. Please advice. Thanks. |
| Forum Sponsor | ||
|
|
|
#2
|
|||
|
|||
|
the fix
cd into the directory. vi the known_hosts files. get to the hostname entry and remove that line. then retry your session. you just need to take it out to set up a new trust relationship from the server your on to the server your going to.
-S |
|
#3
|
|||
|
|||
|
why it failed?
Thank you very much for the confirmation.
Do have any idea why it did got that error? It is working before and there are no changes on both sides probably. What would be the cause that it is success connection one time, not success on another? is that on the source server setup? or on the target server having changes? |
|
#4
|
|||
|
|||
|
changed
here are some pretty explanations as to why it happens.
http://erdelynet.com/archive/ssh-l/2003-05/1607.html http://www.astro.princeton.edu/fom-serv/cache/113.html They are pretty good links. Should answer your questions. I am running out of time, a quick google search was easier! -S |
|||
| Google The UNIX and Linux Forums |