[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [cobalt-users] XTR: /root/.ssh has gone missing



Never mind.  I finally realized the problem was in my known_hosts file on
the client machine, not on my source machine.  Removed the IP, forcing a new
authentication.  Works fine again. [Sigh]

Tom

-----Original Message-----
From: Salzer, Tom 
Sent: Tuesday, November 05, 2002 9:11 AM
To: 'cobalt-users@xxxxxxxxxxxxxxx'
Subject: [cobalt-users] XTR: /root/.ssh has gone missing


Short version...
How do I recreate the known_hosts file in /root/.ssh so rsync will work over
SSH? 

Long version... 
Been having some trouble with CMU and rsync on my XTR. Got CMU working, ran
/usr/sbin/cmuExport, tailed cmu.log and found no errors :-) Then I went to
rsync the CMU directory to my spare XTR and got the following (fingerprint
and IP removed from this posting for security): 

--- start quote --- 
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 
@    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 RSA host key has just been changed. 
The fingerprint for the RSA key sent by the remote host is 
[note: I've removed the fingerprint rather than publicly post it]. 
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:2 
RSA host key for 123.456.7.890 has changed and you have requested strict
checking. 
Host key verification failed. 
unexpected EOF in read_timeout 
--- end quote ---

Went to look for /root/.ssh on the source machine and I find that directory
no longer exists. It should have a file called known_hosts. 

The rsync command I used (IP and URL changed) was: 
 
rsync -auvz --rsh=ssh 123.456.7.890:/home/cmu/www.mywebdir.com/
/home/cmu/www.mywebdir.com 

I assume all I need to do is recreate the known_hosts file in /root/.ssh.
How do I do that, or if that is not the problem, what should I do? 

Update: I uninstalled the Secure Shell package and reinstalled it, but still
/root/.ssh does not appear.  When executing post-install scripts, here is
what was returned to the browser:

Warning: i18n_new did not return a handle in
/usr/sausalito/ui/libPhp/I18n.php on line 31

Warning: 0 is not a valid i18n object index! in
/usr/sausalito/ui/libPhp/I18n.php on line 84

Warning: Cannot add header information - headers already sent by (output
started at /usr/sausalito/ui/libPhp/I18n.php:31) in
/usr/sausalito/ui/libPhp/ServerScriptHelper.php on line 102

I rebooted the XTR and can log in via SSH.  Still no /root/.ssh files.
Warning as quoted above continues to be displayed when rsync is attempted.

Thanks, 
Tom

_____________________________________
cobalt-users mailing list
cobalt-users@xxxxxxxxxxxxxxx
To subscribe/unsubscribe, or to SEARCH THE ARCHIVES, go to:
http://list.cobalt.com/mailman/listinfo/cobalt-users