Pb with connection to server Linux
hello ,
I run a script to see if a line is present in a file and I do this from a bounce machine which is allowed to access all the servers in the park, I have a total of 4300 servers.
When I run my shell script, I get the following two errors
error 1:
Matching host key in /root/.ssh/known_hosts:12042
Are you sure you want to continue connecting (yes / no)? yes
Warning: the ECDSA host key for '[myserverlinux1]: 77' differs from the key for the IP address '[xx, xx, xx, xx]: 77'
Offending key for IP in /root/.ssh/known_hosts:6424
Matching host key in /root/.ssh/known_hosts:12044
Are you sure you want to continue connecting (yes / no)?
error 2
sys @ ld000psp0001's password:
I want to find a solution so that my script ignores these two cases.
thnaks in advance .
|