On 14.07.2023 18:23, Francis.Montagnac@xxxxxxxx wrote:
Hi. On Fri, 14 Jul 2023 16:22:56 +0200 "Walter H. via users" wrote:I added this inside the Fedora in the sshd_config HostKeyAlgorithms +ssh-rsa PubkeyAcceptedKeyTypes ssh-rsa then the login using the keys from WSL were working again; but why didn't this help to login using the keys via the Win 10 OpenSSH commands;Since openssh-8.8p1-7.fc37 there is also a requirement on the length of the rsa keys. Tru to add: RequiredRSASize 1024
this didn't make an effekt;
Or redo your rsa key with a biger size.
the key used with WinSCP already 2048-bit and now the confusing thing a regenerated a rsa key with bigger size in case someone has such setup: a Win10 and a Fedora 38 can try this ... adding thisssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDvlr2hpBHzPckf+C8Wr4VqzOozGVFam4Rw4cWfZs7ak6EfF76jnAQ1D2UkSoUUz3lK/z35ks+XuNxZrvW0OxnVbeHMUnnnklrWh8KSswoAgJ0xgsRfldyv4OMoLcaxDO0flVJ7+Xlk3ypgrzO/4fHT3JLkrf5oM7nLvPAq3y3rq1G/nY7jo9v6eRav5d75hQTvyEinkvho94QNtXHUEihoUc0P64QsegN+LI6LC6xrDrA4pRbxgVkQABr5wemukn5li51OCqaLeXOh+wbvVxp5yA9lhhkyJxt05QrT3hq10Lm93Xq/CxmczuwHbtOee3MKLRu+csxjLkLdKK5hkcPwOZCU7ucQEKRs1X6y4gAaEmO5b/ijxeVKbwB+imGYg9+CuSPPxpHj9J2ArQtDSivEQ94AicbZPoNU8oeHwE0CXbYfrF89Ocv6bE70WRUcI82TM6T9ZgFa9Ko9va8JwLEZjorqYQJ7/NkMG9G7XhbyV6mD8/xRWOYzaYz23hngK70= Test-Key
to /home/youruser/.ssh/authorized_keys and this private key -----BEGIN OPENSSH PRIVATE KEY----- b3BlbnNzaC1rZXktdjEAAAAABG5vbmUAAAAEbm9uZQAAAAAAAAABAAABlwAAAAdzc2gtcn NhAAAAAwEAAQAAAYEA75a9oaQR8z3JH/gvFq+FaszqMxlRWpuEcOHF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ek4BOOtT8slS77+oeRrtAgr0hND1zm9if1AYP4lUb1TaQKi1NgW0eh 9y+vIFLXNsEZANl0TkjuuHqJnIK4td28JI4rl3G1s2RzifAIS+06dOCvkkW8AYRsbA55Zb wrAohJHMCZY60vteRUp2ry3g8PBIjllDPGi28uyHY8PX7F13dsmSOlcH5RhDNDZq6PBrF9 Nb+0+T8KsglEJ7AAAAFXdhbHRlckBXMTBXQUxESTAxLVcwMQECAwQF -----END OPENSSH PRIVATE KEY----- ssh -i id_rsa youruser@fedorahost doesn't workthis is quite strange; because the same keyfiles works from another Linux [not Fedora]
what's causing this strange behaviour? Walter
Attachment:
smime.p7s
Description: S/MIME Cryptographic Signature
_______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue