Browse Source

require pub key auth solely so proc won't stuck

Paul Klumpp 11 years ago
parent
commit
60a1f57903
1 changed files with 1 additions and 1 deletions
  1. 1 1
      mvd_transfer.sh

+ 1 - 1
mvd_transfer.sh

@@ -7,7 +7,7 @@ _file="$game/demos/$mvd"
 
 if [ -f "$_file" ]; then
   # sleep a little, so q2proded has time to finalize the demo file
-  ( sleep 2 ) && ( echo "put $_file" | sftp -q -p someuser@aq2world.com:/demos ) &
+  ( sleep 2 ) && ( echo "put $_file" | sftp -q -o PasswordAuthentication=no -p someuser@aq2world.com:/demos ) &
 else
   echo "$0 Error: '$_file' not found. Not transferring anything. :("
 fi