I am trying to to login into a server and download files via SFTP non-interactively: where to place the password in the command line? Help please! my command is:
sftp -4rv -b - -o IPQoS=cs1 -o User=user_id -o ChallengeResponseAuthentication=yes -o BatchMode=yes -o KbdInteractiveAuthentication=no -o PasswordAuthentication=yes -o PreferredAuthentications=password -o NumberOfPasswordPrompts=3 @server.com:/ .
ftplike this, your connection won't be encrypted (if the server support FTP at all). – Martin Prikryl Nov 25 '20 at 07:34