X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=src%2Fsubcommands%2Fmh%2Fimport-key;h=9ba51d24dfb26f99c1d9b600784ba5311ba56ab9;hb=93527967c043c99c708e209502292cf276877bf9;hp=ac67711742859ad20e898fc2c45248d9fafd35f9;hpb=c700e9b0dcede303ed1f160ba51f564fd314d2e3;p=monkeysphere.git diff --git a/src/subcommands/mh/import-key b/src/subcommands/mh/import-key index ac67711..9ba51d2 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 @@ -82,3 +84,5 @@ log info "SSH host public key in OpenPGP form: ${SYSDATADIR}/ssh_host_rsa_key.pu # show info about new key show_key + +}