Hi,
I would like to scp from my linux box to a pc w/out a password. The linux is "stargate" and pc is "joannah"
I have set public/private keys such that my linux has /root/.ssh/id_dsa.pub and my pc has /home/.ssh/authorized_keys and /home/.ssh/authorized_keys2.
Sometimes, when i do:
scp file
johndoe@my_ip.edu:
the file transfers ok, with no warning and no need to enter password. but sometimes i get the error:
-----------------------------------------
the rsa host key for my_ip.edu has changed and the key for the according IP address 123.4.5.6 is unknown. this could iehter mean that dns spoofing is happening or the ip address for the host and its host key have changed at the same time
it is possible that someone is doing something nasty! someone could be eavesdropping on you right now (man-in-the-middle attack)! is is also possible that the rsa host key has just been changed. please contact your system administrator. add correct host key in /root/.ssh/known_hosts to get rid of this message. rsa host key for seas.ucla.edu has changed and you have requested strict checking.
--------------------------------------------
i'm not sure why sometimes the scp works and sometimes it fails and i get warning above.
any comments would be appreciated.
Thanks!