diff options
| -rw-r--r-- | bitbake/lib/bb/fetch2/sftp.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/fetch2/sftp.py b/bitbake/lib/bb/fetch2/sftp.py index 8ea4ef2ff3..cb2f753a8e 100644 --- a/bitbake/lib/bb/fetch2/sftp.py +++ b/bitbake/lib/bb/fetch2/sftp.py | |||
| @@ -99,7 +99,7 @@ class SFTP(FetchMethod): | |||
| 99 | """Fetch urls""" | 99 | """Fetch urls""" |
| 100 | 100 | ||
| 101 | urlo = URI(ud.url) | 101 | urlo = URI(ud.url) |
| 102 | basecmd = 'sftp -oPasswordAuthentication=no' | 102 | basecmd = 'sftp -oBatchMode=yes' |
| 103 | port = '' | 103 | port = '' |
| 104 | if urlo.port: | 104 | if urlo.port: |
| 105 | port = '-P %d' % urlo.port | 105 | port = '-P %d' % urlo.port |
