Webmin, SSH Server, User authorized keys file ?!

4 posts / 0 new
Last post
#1 Fri, 11/13/2015 - 12:01

Webmin, SSH Server, User authorized keys file ?!


Is Webmin enable to create ssh public key and ssh private key ? And where put there files ?

And copy key in the authorized_keys like the option 'User authorized keys file' ??

Thank you !

Fri, 11/13/2015 - 13:34


Unfortunately, I don't believe there's a way to do that within Webmin. That process would likely need to be done on the command line.

To do that, you can log in as the SSH user in question, and run this command:

ssh-keygen -t rsa

That will generate the keys.

To install an SSH key for that user, you could edit $HOME/.ssh/authorized_keys, and there add the public SSH key.


Fri, 11/13/2015 - 15:48

Ok, thank you but, what about the User SSH Key Setup ? This page allows you to configure the automatic setup of SSH for new Unix users created on your system. If configured, new users will not have to run ssh-keygen before using SSH.


Fri, 05/10/2019 - 23:54 (Reply to #3)
Francewhoa's picture

@dotMastaz :) Related documentation about "User SSH Key Setup" at https://docs.virtualmin.com/Webmin/SSH_Server#User_SSH_Key_Setup

- - -
Senior Product Manager, and Co-Founder at Ubertus.org Inc.
Love back your Virtualmin & Webmin community

Topic locked