Question : ssh using cluster virtual ip address without "accept public key"

Hi,
  I have two cluster servers running ssh with one
virtual ip address.  
server1: 192.168.10.50
server2: 192.168.10.52
cluster1: 192.168.10.51
I often login to the cluster
using the cluster, cluster1 (ip address 192.168.10.51).
if server1 is active, it has the vip;
and if server2 is active, it has the vip.

How can I login using the vip (cluster1) so that
it does not ask for a public key?

for example:
server1 is active, it has vip.
I login using vip and it asks for "accept pub key", ok.
now server2 is active and it asks for "accept pub key", it has vip, I login
ok. Then server1 is active, I login using vip and it still
ask for "accept pub key".  How can I fix this so it does not ask so "accept pub key"?

Answer : ssh using cluster virtual ip address without "accept public key"

Copy the server's keys from server1 onto server2. That will make the ssh server identity be the same on both since both have the same key.
Random Solutions  
 
programming4us programming4us