Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

rhussey

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!!
martin

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.
rhussey

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)