Error when running /script with -hostkey=
WinSCP 5.11.3
Windows 2012R2
I am able to connect from the console, however unable when running it with a /script
----------------------------------------------------------------
From command line:
batch off
confirm off
Searching for host...
Connecting to host...
Couldn't agree a key exchange algorithm (available: curve25519-sha256@libssh.org
,ecdh-sha2-nistp521,ecdh-sha2-nistp384,ecdh-sha2-nistp256)
transfer ascii
No session.
------------------------------------------------------------------
Segment from log file,
...
. 2018-09-26 11:05:41.533 Waiting for the server to continue with the initialization
. 2018-09-26 11:05:41.533 Detected network event
. 2018-09-26 11:05:41.564 Detected network event
. 2018-09-26 11:05:41.564 Server version: SSH-2.0-OpenSSH_7.4
. 2018-09-26 11:05:41.564 Using SSH protocol version 2
. 2018-09-26 11:05:41.564 We claim version: SSH-2.0-WinSCP_release_5.5.6
. 2018-09-26 11:05:41.564 Waiting for the server to continue with the initialization
. 2018-09-26 11:05:41.596 Detected network event
. 2018-09-26 11:05:41.596 Couldn't agree a key exchange algorithm (available: curve25519-sha256@libssh.org,ecdh-sha2-nistp521,ecdh-sha2-nistp384,ecdh-sha2-nistp256)
Windows 2012R2
I am able to connect from the console, however unable when running it with a /script
----------------------------------------------------------------
From command line:
batch off
confirm off
Searching for host...
Connecting to host...
Couldn't agree a key exchange algorithm (available: curve25519-sha256@libssh.org
,ecdh-sha2-nistp521,ecdh-sha2-nistp384,ecdh-sha2-nistp256)
transfer ascii
No session.
------------------------------------------------------------------
Segment from log file,
...
. 2018-09-26 11:05:41.533 Waiting for the server to continue with the initialization
. 2018-09-26 11:05:41.533 Detected network event
. 2018-09-26 11:05:41.564 Detected network event
. 2018-09-26 11:05:41.564 Server version: SSH-2.0-OpenSSH_7.4
. 2018-09-26 11:05:41.564 Using SSH protocol version 2
. 2018-09-26 11:05:41.564 We claim version: SSH-2.0-WinSCP_release_5.5.6
. 2018-09-26 11:05:41.564 Waiting for the server to continue with the initialization
. 2018-09-26 11:05:41.596 Detected network event
. 2018-09-26 11:05:41.596 Couldn't agree a key exchange algorithm (available: curve25519-sha256@libssh.org,ecdh-sha2-nistp521,ecdh-sha2-nistp384,ecdh-sha2-nistp256)