Re: ssh forward agent

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

 



On Tue, 03 Jun 2025 19:00:06 +0700 Frederic Muller wrote:

> Jun 3 18:54:09 host sudo[2371]: pam_ssh_agent_auth: Failed 
> Authentication: `user' as `user' using /etc/security/authorized_keys

> Any idea why this is happening? I check the authorized_keys and it's 
> there, and it's the same as the /home/user/.ssh/authorized_keys and the 
> key.pub for that user on my local machine.

Your ssh-agent is perhaps using different keys than the ones
present in /etc/security/authorized_keys.

Can you check that ?

With "ssh-add -L" for example on the target machine

~/.ssh/s1_sca is perhaps not encrypted and allowing thus to ssh
without using ssh-agent.

Also what is the type of the dedicated key ? 
This old pam_ssh_agent_auth may not know the new types as ed25519

A modern version of pam_ssh_agent_auth specify supporting explicitely
only some types. See: https://github.com/z4yx/pam_rssh

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