brent saner via plug on 9 Jan 2026 11:09:50 -0800


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

Re: [PLUG] Sharing SSH keys between Linux hosts


I haven't seen anyone use OIDC/OAuth2 for SSH in the wild, no. Largely because it requires either third-party addition/integration onto OpenSSH or completely replacing your sshd (and ssh client).

Granted, this blog post from a ContainerSSH dev is from 2021, but I suspect a large reason is because the most popular clients may have issues with it.

To my knowledge, currently the only possibilities for OIDC/OAuth2 via SSH is:


On Fri, Jan 9, 2026 at 1:25 PM Rich Freeman via plug <plug@lists.phillylinux.org> wrote:
(Warning, this is drifting a little off-topic.)

On 1/9/2026 1:10 PM, brent saner via plug wrote:
For what it's worth, there is a multitude of software that can manage SSH pubkey distribution. If you're using SSSD with AD/LDAP auth, you can even store users' SSH pubkeys in the directory itself bound to their user object and SSSD can dynamically fetch it/them at runtime directly.

I've seen orgs use LDAP to manage authorized_keys or the equivalent.  Does anybody do some kind of federated authentication with ssh, like OIDC/etc?  

I'm not sure how useful it would be for me at home, since I'd want to be able to use ssh to troubleshoot the authentication service - there are just some infra items you don't want too many dependencies with.  I'm just curious what is out there, and since the list is low-traffic I figured I'd start a conversation here instead of chatting with an LLM about it.  :)

-- 
Rich
___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug
___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug