From ab8a5011501a708c873122e34ea914a6dfab772e Mon Sep 17 00:00:00 2001 From: Jameson Graef Rollins Date: Sat, 21 Feb 2009 13:08:55 -0500 Subject: [PATCH] added note about specifying a hostname for import-key in the admin getting started page. --- website/getting-started-admin.mdwn | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/website/getting-started-admin.mdwn b/website/getting-started-admin.mdwn index d1146f1..c4c2e64 100644 --- a/website/getting-started-admin.mdwn +++ b/website/getting-started-admin.mdwn @@ -22,12 +22,22 @@ To begin, you must first import an ssh host key. This assumes that you have the ssh server installed, and that you have generated a host RSA key. Once that has been done, import the key: - # monkeysphere-host import-key /etc/ssh/ssh\_host\_rsa\_key + # monkeysphere-host import-key /etc/ssh/ssh_host_rsa_key -This will generate an OpenPGP certificate for server containing the -service URI (`ssh://server.example.net`). Now you can display -information about the host key's certificate with the 'show-key' -command: +This will generate an OpenPGP certificate for server. The primary +user ID for this certificate will be the ssh service URI for the host, +which by default is based on the output of `hostname -f` +(eg. `ssh://server.example.net`). If the name determined from +`hostname -f` is not the name you want to have in the service URI, +then you can enter one manually: + + # monkeysphere-host import-key /etc/ssh/ssh_host_rsa_key host.example.net + +Remember that the name you provide here must be a fully qualified +domain name for the host in order for the monkeysphere to work. + +Now you can display information about the host key's certificate with +the 'show-key' command: # monkeysphere-host show-key -- 2.25.1