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:/ .