Error when running /script with -hostkey=

Advertisement

rhussey
Joined:
Posts:
3
Location:
Hussey

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)

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
41,478
Location:
Prague, Czechia

Re: Error when running /script with -hostkey=

rhussey wrote:

. 2018-09-26 11:05:41.564 We claim version: SSH-2.0-WinSCP_release_5.5.6
You are not using 5.11.3, but 5.5.6. That version of WinSCP did not support any of those KEX algorithms.

Reply with quote

rhussey
Joined:
Posts:
3
Location:
Hussey

Re: Error when running /script with -hostkey=

martin wrote:

rhussey wrote:

. 2018-09-26 11:05:41.564 We claim version: SSH-2.0-WinSCP_release_5.5.6
You are not using 5.11.3, but 5.5.6. That version of WinSCP did not support any of those KEX algorithms.

Thank you!!

Installed 5.13 and all is now well!!

Reply with quote

Advertisement

You can post new topics in this forum