Winscp 5.19.4, connecting to OpenBSD 7.0 stable.
transfer protocol SFTP
Utgåva Windows 10 Pro
Version 21H1
Installerad 2021-02-06
OS-version 19043.1288
Gränssnitt Windows Feature Experience Pack 120.2212.3920.
I have a pubkey that I have used for a long time.
After upgrading OpenBSD to 7.0 stable the key is rejected by the server for
WinSCP but not for PuTTY.
When connecting from PuTTY I get this log message in the sever
/var/log/authlog
:
Nov 5 23:03:14 evelina sshd[53945]: Accepted publickey for nilsola from 176.10.218.229 port 52231 ssh2: RSA SHA256:A4EFYBSpgYTB4gYo3WxTpSMki3EqRHoUD0iOa4WFuPM
When connecting from WinSCP I get this message in the server
/var/log/authlog
:
Nov 5 22:49:56 evelina sshd[28222]: userauth_pubkey: key type ssh-rsa not in PubkeyAcceptedAlgorithms [preauth]
It is the same key. Since this is a RSA/SHA256 key it should work also for WinSCP.
(After adding
PubkeyAcceptedAlgorithms=+ssh-rsa
in the server
sshd_config
it works also for WinSCP.)
See also:
https://marc.info/?l=openssh-unix-announce&m=161880182302909&w=2
https://marc.info/?l=openbsd-tech&m=163028217802671&w=2