Reply to post: Where does the key come from...

The D in Systemd is for Directories: Poettering says his creation will phone /home in future

theOtherJT

Where does the key come from...

...well, in my case it comes from /etc/ssh/ldap-keys.sh in accordance with the AuthorizedKeysCommand directive in /etc/ssh/sshd_config.

Not only will this pull the public part of your key out of your LDAP profile, but will also get the path to your home directory and mount it for you.

Not that I'm defending this bloody silly idea, I'm not, but if we're talking about SSH to servers, this is already a problem we solved.

POST COMMENT House rules

Not a member of The Register? Create a new account here.

  • Enter your comment

  • Add an icon

Anonymous cowards cannot choose their icon

SUBSCRIBE TO OUR WEEKLY TECH NEWSLETTER

Biting the hand that feeds IT © 1998–2019