Re: SSH Login error from script connection
Please attach a full session log file showing the problem (using the latest version of WinSCP).
Before posting, please read how to report bug or request support effectively.
Bug reports without an attached log file are usually useless.
Prompt (username, "SSH login name", <no instructions>, "login as: ")
< 2021-07-05 16:36:35.764 Script: Connecting to host...
. 2021-07-05 16:36:35.764 We claim version: SSH-2.0-WinSCP_release_5.19.1
. 2021-07-05 16:36:35.779 Remote version: SSH-2.0-OpenSSH_7.4
. 2021-07-05 16:36:35.779 Using SSH protocol version 2
. 2021-07-05 16:36:35.779 Have a known host key of type ssh-ed25519
. 2021-07-05 16:36:35.795 Doing ECDH key exchange with curve Curve25519 and hash SHA-256
. 2021-07-05 16:36:35.889 Server also has ecdsa-sha2-nistp256/ssh-rsa host keys, but we don't know any of them
. 2021-07-05 16:36:35.889 Host key fingerprint is:
. 2021-07-05 16:36:35.889 ssh-ed25519 255 64:f3:6e:6e:00:70:34:77:e6:91:02:a7:c7:f2:34:65 Uig0ETOOoEywTWry0hfotDK0BvEaSoPMyJc5gGTzPZc=
< 2021-07-05 16:36:35.889 Script: Authenticating...
. 2021-07-05 16:36:35.889 Host key matches cached key
. 2021-07-05 16:36:35.889 Initialised AES-256 SDCTR (AES-NI accelerated) [aes256-ctr] outbound encryption
. 2021-07-05 16:36:35.889 Initialised HMAC-SHA-256 outbound MAC algorithm
. 2021-07-05 16:36:35.889 Initialised AES-256 SDCTR (AES-NI accelerated) [aes256-ctr] inbound encryption
. 2021-07-05 16:36:35.889 Initialised HMAC-SHA-256 inbound MAC algorithm
. 2021-07-05 16:36:35.904 Prompt (username, "SSH login name", <no instructions>, "login as: ")
. 2021-07-05 16:36:35.904 No username provided
. 2021-07-05 16:36:35.904 Attempt to close connection due to fatal exception:
* 2021-07-05 16:36:35.904 **Connection has been unexpectedly closed.** Server sent command exit status 0.
. 2021-07-05 16:36:35.904 Closing connection.
< 2021-07-05 16:36:35.904 Script: Connection has been unexpectedly closed. Server sent command exit status 0.