Permitting users to ssh with out typing their passwords via kerberos?
Linux - SecurityThis forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Permitting users to ssh with out typing their passwords via kerberos?
Is there a way to use kerberos (or baring that a trusted CA) to allow users to ssh across machines in an environment isntead of having to manage the hash keys per user/server? I'm using kerberos+ldap to log folks in and get their settings but I'd like to take it a step further. I've been reading a lot but still can't quite get it all to come together.
Do I need to create a SPN for each host to do this? Sorry if I am asking a dumb question, I am returning to the *nix fold after a decade+ in the Microsoft world, be gentle with me.
Click here to see the post LQ members have rated as the most helpful post in this thread.
Sure you can, if you have a krb5 ticket that's valid, just enabled the ssh server to accept forwarded tickets using the gssapi options in the config files and you should see it being passed along pretty easily.
Whilst kerberos is nice and tricky and all, remember that it propagates the weakest link in the security chain, one unguarded machine can expose a HUGE amount of other machines.
There are also certificate angles, but only, afaik, via patching the source, I don't think anything is part of the mainline openssh code tree. Go google that one, certainly out there.
Any links would be appreciated, I am having trouble finding how to set up GSSAPI to take advantage of this. The man page is not much help. Need a woman page, that would tell me exactly what I am doing wrong
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.