ISSUE:-
Following error will
be displayed when the remote host key changes
[oracle@amer
11.2.0]$ scp dbhome_1.tar root@192.168.1.112:/u01/app/oracle/product/11.2.0/
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@
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
19:24:80:58:3f:4a:b3:bf:c9:26:36:8a:0e:44:f1:41.
Please contact your system administrator.
Add correct host key in
/home/oracle/.ssh/known_hosts to get rid of this message.
Offending key in
/home/oracle/.ssh/known_hosts:1
RSA host key for 192.168.1.112 has changed
and you have requested strict checking.
Host key verification failed.
lost connection
SOLUTION:-
You have to remove
the key to proceed further
[oracle@amer 11.2.0]$ sed -i '1d' ~/.ssh/known_hosts
OUTPUT:-
[oracle@amer 11.2.0]$ scp dbhome_1.tar
root@192.168.1.112:/u01/app/oracle/product/11.2.0/
The authenticity of host '192.168.1.112
(192.168.1.112)' can't be established.
RSA key fingerprint is
19:24:80:58:3f:4a:b3:bf:c9:26:36:8a:0e:44:f1:41.
Are you sure you want to continue connecting
(yes/no)? yes
Warning: Permanently added '192.168.1.112'
(RSA) to the list of known hosts.
root@192.168.1.112's password:
...........................................................................................
No comments:
Post a Comment