Quote:
Originally Posted by jayantkp
node.runCommand("-o StrictHostKeyChecking=no");
|
I don't know which language or environment you use, but perhaps you need to single-quote the option (to avoid it being interpreted by the shell)?
Quote:
Originally Posted by jayantkp
node.runCommand("ssh -o 'StrictHostKeyChecking no' user@<ip>
|
Here you didn't use the = at all. Did you try
Code:
node.runCommand("ssh -o 'StrictHostKeyChecking=no' user@ip");
?