in reply to Re^2: known_hosts verification disable
in thread known_hosts verification disable

something like...
ssh_option => '-o StrictHostKeyChecking=no'
...should do.

Replies are listed 'Best First'.
Re^4: known_hosts verification disable
by Anonymous Monk on Mar 22, 2011 at 18:00 UTC
    i added the option and tried a sample code but it's not helping... I'm just trying ls command on remote m/c with sample script. Pls see the below output it's asking for host key verification even after adding the ssh_option you specified... <snip> Running remote cmds Wed Mar 23 11:09:21 IST 2011 output of ls The authenticity of host 'test1 (192.168.1.1)' can't be established. RSA key fingerprint is 48:0b:26:bf:5d:54:c9:c3:cc:7a:25:20:5e:14:b6:d0. Are you sure you want to continue connecting (yes/no)? <snip>
Re^4: known_hosts verification disable
by Anonymous Monk on Mar 22, 2011 at 18:25 UTC
    The option you gave worked... That's my bad I was trying with wrong option. I corrected it now. Thank you very much for your help.
Re^4: known_hosts verification disable
by Anonymous Monk on Mar 22, 2011 at 18:15 UTC
    i added the option and tried a sample code but it's not helping... I'm just trying ls command on remote m/c with sample script. Pls see the below output it's asking for host key verification even after adding the ssh_option you specified...

    <snip>

    Running remote cmds

    Wed Mar 23 11:09:21 IST 2011

    output of ls

    The authenticity of host 'test1 (192.168.1.1)' can't be established. RSA key fingerprint is 48:0b:26:bf:5d:54:c9:c3:cc:7a:25:20:5e:14:b6:d0. Are you sure you want to continue connecting (yes/no)?

    <snip>

    pls help