Re: Who is the problem kid: Win10 or Fedora?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Jul 14, 2023 at 2:01 PM Walter H. via users
<users@xxxxxxxxxxxxxxxxxxxxxxx> wrote:
>
> 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 this
>
> ssh-rsa
>  [...]
>
> ssh -i id_rsa  youruser@fedorahost
>
> doesn't work
>
> this is quite strange; because the same keyfiles works from another
> Linux [not Fedora]
>
> what's causing this strange behaviour?

If authorized_keys is working on other machines... What permissions on
$HOME/.ssh ?

Or, do a "chmod -R o-rwx $HOME/.ssh" "Other" will cause the sshd
daemon to refuse to use authorized_keys.

Jeff
_______________________________________________
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



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux