Commit 5aa03396 authored by Gavin Brown's avatar Gavin Brown

set StrictHostKeyChecking=no to avoid having to manually accept the server key

parent 78fab60d
......@@ -51,7 +51,8 @@ $SIG{'PIPE'} = sub {
my $cmd = join(' ', (
'sftp',
'-b' , '-',
'-b', '-',
'-o', 'StrictHostKeyChecking=no',
'-o', sprintf('IdentityFile=%s', $config->{'cp.key'}),
sprintf('%s@%s', $config->{'cp.user'}, $config->{'cp.host'})
));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment