wiki:how-to/servers/support/monkeysphere-authorize-uid

Version 2 (modified by https://id.mayfirst.org/dkg, 6 years ago) (diff)

--

Authorize User IDs in Monkeysphere

If you are on the monkeysphere login as root onto the server you want to access as a specific user from hosting order:

ssh root@SERVERNAME.mayfirst.org

Then switch user to the account you want to access via SSH

server:~# su - USERNAME

Not you are logged in as the user, edit the authorized IDs file

USERNAME@server:~$ emacs ~/.monkeysphere/authorized_user_ids 

Add your OpenPGP User ID on a single line to the file (for cleanliness, make sure the last character in the file is a newline):

FIRST LASTNAME <name@example.net>

Exit as that user

USERNAME@server:~$ exit

As root again confirm the authentication of your user Id

server:~# monkeysphere-authentication u USERNAME

Exit as root from server

server:~# exit