42.7. Setting Up SSH for New Users

Before a UNIX user can use certificate authentication to log in to an SSH server, he must generate a private key with the ssh-keygen command. This module can be configured to work with the Users and Groups module to run this command for all newly created users. If your network uses NFS-mounted home directories, this will allow new users to log in to other hosts without needing to supply a password, with no further setup needed.

To configure the setup of SSH for new users, follow these steps:

1.
On the module's main page, click on the User SSH Key Setup icon.
2.
Check the Setup SSH key for new UNIX users checkbox, so that ssh-keygen will be run for new accounts.
3.
To have the new user's public key added to the ...

Get Managing Linux® Systems with Webmin™ System Administration and Module Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.