<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hello,<br>
<br>
i am trying to do a script that will make some actions between
different nodes of a cluster, i need to launch some action.<br>
<br>
when i try to connect, i get this message : <br>
<blockquote><font color="#33cc00">root@S2P-PMX01:~# ssh S2P-PMX02<br>
Warning: the ECDSA host key for 's2p-pmx02' differs from the key
for the IP address '172.16.2.102'<br>
Offending key for IP in /etc/ssh/ssh_known_hosts:4<br>
Matching host key in /root/.ssh/known_hosts:6<br>
Are you sure you want to continue connecting (yes/no)? <font
color="#ff0000"><u><b>yes</b></u></font><br>
Linux S2P-PMX02 2.6.32-34-pve #1 SMP Fri Dec 19 07:42:04 CET
2014 x86_64<br>
<br>
The programs included with the Debian GNU/Linux system are free
software;<br>
the exact distribution terms for each program are described in
the<br>
individual files in /usr/share/doc/*/copyright.<br>
<br>
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the
extent<br>
permitted by applicable law.<br>
Last login: Mon FebĀ 2 13:05:15 2015 from s2p-pmx01.xxxxxxxxxxxxxxx<br>
root@S2P-PMX02:~# </font><br>
</blockquote>
My problem, is that login require manual action, wich is
incompatible with a automated script. Any idea on how to circumvent
this ?<br>
<br>
Serge<br>
</body>
</html>