Permalink
Browse files

removing password prompt when pem file is not responsive

  • Loading branch information...
1 parent f767173 commit 44dafcb80a3e9634ce5d6867dfbf968906a7f07d @OferE OferE committed Aug 1, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 lib/shync.js
View
@@ -98,6 +98,8 @@ function _runCmd(opts, cmd){
cmdParams.push('-oStrictHostKeyChecking=no');
}
+ cmdParams.push('-oNumberOfPasswordPrompts=0');
+
if (typeof cmd === 'string'){
//ssh
program = 'ssh';

0 comments on commit 44dafcb

Please sign in to comment.