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

martin

@kitchin: Thanks for your feedback.
kitchin

Thank you. Dev 11949 works, both with and without Pageant.
martin

@kitchin: Sent.
kitchin

martin wrote:

@kitchin: That's probably the issue that this topic is about. Please wait for WinSCP 5.20. I can send you a development version for testing once it is ready, if you are interested. Same for @NOYB.

Thank you, I will be glad to test it.
martin

@Guest: It will support SHA2. As the tracker says.
Guest

@martin: Oh, so that's the culprit. Ok, but what will 6.0 (or 5.20) change that will mitigate this issue?
martin

@kitchin: That's probably the issue that this topic is about. Please wait for WinSCP 5.20. I can send you a development version for testing once it is ready, if you are interested. Same for @NOYB.
Guest

martin wrote:

Anyway, we have decided to release WinSCP 5.20 with PuTTY 0.76 within few weeks.

Whoa...a few weeks? That's really a shame as this renders WinSCP useless for me for that period. :(
kitchin

WinSCP stopped working with public key connecting to one of my servers, some time in the last four days. PuTTY 0.76 and FileZilla do work. I generated a new key using the PuTTYgen defaults just to be sure. It also failed without Pageant. Thank you.
. 2021-11-22 06:49:55.189 Looking up host "..." for SSH connection
. 2021-11-22 06:49:55.202 Connecting to ... port 22
. 2021-11-22 06:49:55.262 We claim version: SSH-2.0-WinSCP_release_5.19.4
. 2021-11-22 06:49:55.302 Remote version: SSH-2.0-OpenSSH_8.8
. 2021-11-22 06:49:55.302 Using SSH protocol version 2
. 2021-11-22 06:49:55.303 Have a known host key of type rsa2
. 2021-11-22 06:49:55.354 Doing ECDH key exchange with curve Curve25519 and hash SHA-256
. 2021-11-22 06:49:55.509 Server also has ssh-ed25519/ecdsa-sha2-nistp256 host keys, but we don't know any of them
. 2021-11-22 06:49:55.509 Host key fingerprint is:
. 2021-11-22 06:49:55.509 ssh-rsa 2048 ...
. 2021-11-22 06:49:55.591 Host key matches cached key
. 2021-11-22 06:49:55.593 Initialised AES-256 SDCTR (AES-NI accelerated) [aes256-ctr] outbound encryption
. 2021-11-22 06:49:55.593 Initialised HMAC-SHA-256 outbound MAC algorithm
. 2021-11-22 06:49:55.593 Initialised AES-256 SDCTR (AES-NI accelerated) [aes256-ctr] inbound encryption
. 2021-11-22 06:49:55.593 Initialised HMAC-SHA-256 inbound MAC algorithm
. 2021-11-22 06:49:55.634 Reading key file "..."
. 2021-11-22 06:49:55.636 Pageant is running. Requesting keys.
. 2021-11-22 06:49:55.640 Pageant has 2 SSH-2 keys
. 2021-11-22 06:49:55.641 Pageant key #1 matches configured key file
! 2021-11-22 06:49:55.641 Using username "...".
. 2021-11-22 06:49:55.704 Server offered these authentication methods: publickey,password,keyboard-interactive
. 2021-11-22 06:49:55.704 Trying Pageant key #1
. 2021-11-22 06:49:55.754 Server refused our key
NOYB

Figured that would likely be the case re: Git SSH vs. WinSCP. But posed the question just in case.
Anyway. 5.20 with PuTTY 0.76 will be welcome. Looking forward to it. Thanks.
martin

NOYB wrote:

Would be nice if WinSCP had provision for using an installed PuTTY version, like Git Extensions does.

That's not possible at all. WinSCP's use of SSH is way more complex than the PuTTY binary interface allows. It's incomparable to the trivial use of SSH in Git.

Anyway, we have decided to release WinSCP 5.20 with PuTTY 0.76 within few weeks.
NOYB

That's disappointing.

Is there anyway to get 5.19.4 to use the installed PuTTY 0.76?

Would be nice if WinSCP had provision for using an installed PuTTY version, like Git Extensions does.
By default it uses an included version: C:\Program Files (x86)\GitExtensions\PuTTY\...
But it can be easily changed in the SSH settings to use a different installed version.
martin

Re: Need SSH Core PuTTY 0.76 (WinSCP 6; ASAP)

We do not have any plans for WinSCP 6 release yet, sorry.
NOYB

Need SSH Core PuTTY 0.76 (WinSCP 6; ASAP)

When will WinSCP 6.0 be released?
SSH core PuTTY 0.76 needed for firewall access (OPNsense 21.7.5).

PuTTY 0.76 works.

WinSCP 5.19.4 does not.
"Server refused our key."

Thanks