google-code-export / mysql-cacti-templates

Automatically exported from code.google.com/p/mysql-cacti-templates
GNU General Public License v2.0
1 stars 0 forks source link

Set different SSH options #68

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
All the stuff about adding SSH keys is probably not necessary.

We can just change the SSH command line to include

-o "StrictHostKeyChecking no"

Probably a good command line is

ssh -q -t -o "ConnectTimeout 10" -o "StrictHostKeyChecking no" $command

Original issue reported on code.google.com by baron.schwartz on 7 Aug 2009 at 6:39

GoogleCodeExporter commented 9 years ago
<matt>    $cmd = "ssh -o \"ConnectTimeout 10\" -o \"StrictHostKeyChecking no\"
$user@$options[host] -p $port $iden ";
<matt> Works

Original comment by baron.schwartz on 20 Oct 2009 at 9:21

GoogleCodeExporter commented 9 years ago
Done in r272.

Original comment by baron.schwartz on 26 Oct 2009 at 2:36