Hello,
i am trying to do a script that will make some actions between different nodes of a cluster, i need to launch some action.
when i try to connect, i get this message :
Serge
Special thanks to Remark,
connecting with IP address solve this problem, i know how to search a solution
Serge
i am trying to do a script that will make some actions between different nodes of a cluster, i need to launch some action.
when i try to connect, i get this message :
root@S2P-PMX01:~# ssh S2P-PMX02
Warning: the ECDSA host key for 's2p-pmx02' differs from the key for the IP address '172.16.2.102'
Offending key for IP in /etc/ssh/ssh_known_hosts:4
Matching host key in /root/.ssh/known_hosts:6
Are you sure you want to continue connecting (yes/no)? yes
Linux S2P-PMX02 2.6.32-34-pve #1 SMP Fri Dec 19 07:42:04 CET 2014 x86_64
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Mon Feb 2 13:05:15 2015 from s2p-pmx01.xxxxxxxxxxxxxxx
root@S2P-PMX02:~#
My problem, is that login require manual action, wich is incompatible with a automated script. Any idea on how to circumvent this ?Warning: the ECDSA host key for 's2p-pmx02' differs from the key for the IP address '172.16.2.102'
Offending key for IP in /etc/ssh/ssh_known_hosts:4
Matching host key in /root/.ssh/known_hosts:6
Are you sure you want to continue connecting (yes/no)? yes
Linux S2P-PMX02 2.6.32-34-pve #1 SMP Fri Dec 19 07:42:04 CET 2014 x86_64
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Mon Feb 2 13:05:15 2015 from s2p-pmx01.xxxxxxxxxxxxxxx
root@S2P-PMX02:~#
Serge
Special thanks to Remark,
connecting with IP address solve this problem, i know how to search a solution
Serge
Last edited: