Using linux machineX I want to execute a script on linux machineY. The script in question, scripts/thisscript.sh resides on machineY.
When I try
Code:
ssh me@machineY scripts/thisscript.sh
I never get far enough to start testing my script
I get this error:
Code:
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ 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
d0:56:4a:ea:7c:be:d5:64:04:74:e5:ff:xx:xx:xx:xx.
Please contact your system administrator.
Add correct host key in /home/me/.ssh/known_hosts to get rid of this message.
Offending key in /home/me/.ssh/known_hosts:2
RSA host key for 2xx.xxx.xx.xx has changed and you have requested strict checking.
Host key verification failed.
I tried contacting the system administrator, but since he is I, he's as ignorant as I am.
If the solution is - as stated above - to
Add correct host key in /home/me/.ssh/known_hosts how do I find the correct key to add to the
known_hosts file?
If not, what should I do?
FWIW, the server is an ancient Sun Cobalt RaQ 3 running Red Hat 7.2