June 3, 2010

ssh accept "yes" in automation script possible ?

Forums: 

ssh accept "yes" in automation script possible ?

With the help of ssh i am executing the script...

Before executing the ssh command, at very first time i need to do ssh manually and typing "yes" to accept RSA key fingerprint...Can we do it through automation by passing yes as an argument...

$
The authenticity of host 'hostname (xx.xx.xx.xx)' can't be established.
RSA key fingerprint is 83:71:28:7c:55:38:28:4e:9e:51:32:57:19:9e:d2:d9.
Are you sure you want to continue connecting (yes/no)? yes

Click Here!