It's not possible to automatically provide an input to multifactor authentication atm.
- martin
. 2019-06-21 17:07:17.574 Looking up host "217.*.*.*" for SSH connection
. 2019-06-21 17:07:17.574 Connecting to 217.*.*.* port 22
. 2019-06-21 17:07:17.590 We claim version: SSH-2.0-WinSCP_release_5.15.2
. 2019-06-21 17:07:17.652 Server version: SSH-2.0-OpenSSH_7.4
. 2019-06-21 17:07:17.652 Using SSH protocol version 2
. 2019-06-21 17:07:17.652 Have a known host key of type rsa2
. 2019-06-21 17:07:17.652 Doing ECDH key exchange with curve Curve25519 and hash SHA-256
. 2019-06-21 17:07:17.777 Host key fingerprint is:
. 2019-06-21 17:07:17.777 ssh-rsa 2048 2a:d8:* cKWR*7E=
. 2019-06-21 17:07:17.777 Host key matches configured key
. 2019-06-21 17:07:17.777 Initialised AES-256 SDCTR client->server encryption
. 2019-06-21 17:07:17.777 Initialised HMAC-SHA-256 client->server MAC algorithm
. 2019-06-21 17:07:17.777 Initialised AES-256 SDCTR server->client encryption
. 2019-06-21 17:07:17.777 Initialised HMAC-SHA-256 server->client MAC algorithm
! 2019-06-21 17:07:17.855 Using username "c***".
. 2019-06-21 17:07:17.886 Server offered these authentication methods: publickey,gssapi-keyex,gssapi-with-mic,password,keyboard-interactive
. 2019-06-21 17:07:17.886 Using SSPI from SECUR32.DLL
. 2019-06-21 17:07:17.886 Attempting GSSAPI authentication
. 2019-06-21 17:07:17.918 GSSAPI authentication request refused
. 2019-06-21 17:07:17.918 Server offered these authentication methods: publickey,gssapi-keyex,gssapi-with-mic,password,keyboard-interactive
. 2019-06-21 17:07:17.918 Attempting keyboard-interactive authentication
. 2019-06-21 17:07:17.949 Prompt (keyboard interactive, "SSH server authentication", "Using keyboard-interactive authentication.", "Password: ")
. 2019-06-21 17:07:17.949 Using stored password.
. 2019-06-21 17:07:18.011 Prompt (keyboard interactive, "SSH server authentication", "Using keyboard-interactive authentication.", "Verification code: ")
. 2019-06-21 17:07:18.011 Disconnected: Unable to authenticate
"C:\Program Files\WinSCP\WinSCP.exe" /console /command "option batch on" "option confirm off" "open test@test.ru" "cd /in" "option transfer binary" "put -delete z:\test\out\export\*.*"
exit