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): """Fetch urls""" urlo = URI(ud.url) - basecmd = 'sftp -oPasswordAuthentication=no' + basecmd = 'sftp -oBatchMode=yes' port = '' if urlo.port: port = '-P %d' % urlo.port