X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=src%2Fsubcommands%2Fmh%2Fimport-key;fp=src%2Fsubcommands%2Fmh%2Fimport-key;h=d8ab9df51b8c726c5da6b54ad487292f906300c7;hb=c7abef25b0cb36c04d12619659b7f0ad1b410c9a;hp=d60e982c38a047852b3c4b51620f888674a838c7;hpb=dd84300cab61e2a86299fd8c05f337abb38fb7d9;p=monkeysphere.git diff --git a/src/subcommands/mh/import-key b/src/subcommands/mh/import-key index d60e982..d8ab9df 100755 --- a/src/subcommands/mh/import-key +++ b/src/subcommands/mh/import-key @@ -10,6 +10,8 @@ # They are Copyright 2008, and are all released under the GPL, version 3 # or later. +import_key() { + local hostName=$(hostname -f) local keyFile="/etc/ssh/ssh_host_rsa_key" local keyExpire @@ -83,3 +85,5 @@ log info "SSH host public key in OpenPGP form: ${SYSDATADIR}/ssh_host_rsa_key.pu # show info about new key show_key + +}