Re: ssh connection and selinux

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


On 14Aug2023 09:18, François Patte <francois.patte@xxxxxxxxxxxxxxxxxxxx> wrote:
Here is the part I get with ssh -v:

debug1: Next authentication method: publickey
debug1: Offering public key: /home/patte/.ssh/id_rsa RSA SHA256: **************************

I have a server accepts line after this:

    debug1: Next authentication method: publickey
    debug1: Offering public key: /Users/cameron/.ssh/id_rsa RSA SHA256:***** agent
    debug1: Server accepts key: /Users/cameron/.ssh/id_rsa RSA SHA256:***** agent

Do you?

If I go "ssh -G hostname | grep -i pubkey" I get this:

    pubkeyauthentication true
    ignoreunknown PubkeyAcceptedKeyTypes,ProxyJump
    pubkeyacceptedalgorithms ssh-ed25519-cert-v01@xxxxxxxxxxx,ecdsa-sha2-nistp256-cert-v01@xxxxxxxxxxx,ecdsa-sha2-nistp384-cert-v01@xxxxxxxxxxx,ecdsa-sha2-nistp521-cert-v01@xxxxxxxxxxx,rsa-sha2-512-cert-v01@xxxxxxxxxxx,rsa-sha2-256-cert-v01@xxxxxxxxxxx,ssh-ed25519,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,rsa-sha2-512,rsa-sha2-256,ssh-dss

What's that say for your "pubkeyacceptedalgorithms" ?

I suspect some ssh configuration has changed with the upgrade,
possibly in /etc/ssh/ssh_config. Certainly some key types (or smaller
sizes) fall out of favour as they become inadequately secure.

Where will it be mentionned?

I expect the default is wired into the ssh client command. You can add a particular algorithm back in with a ~/.ssh/config line like this:

    PubkeyAcceptedAlgorithms +missing-name-here

But algorithms are disabled for a reason; after diagnosing this issue, you should probably make yourself an additional keypair of an accepted type and add its public half where wanted.

Cameron Simpson <cs@xxxxxxxxxx>
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct:
List Guidelines:
List Archives:
Do not reply to spam, report it:

[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