diff options
author | Matt Goins <mjgoins@openflows.com> | 2009-01-31 18:35:31 -0500 |
---|---|---|
committer | Matt Goins <mjgoins@openflows.com> | 2009-01-31 18:35:31 -0500 |
commit | 7fb3f70a48202153ecb7c43830ded000f8a0e615 (patch) | |
tree | 9a90f939b9bf9e4692fc35232b537a1cfd371321 /src/subcommands/mh/import-key | |
parent | 2e76a0c288f2c043e205f443410fb7dd0e239953 (diff) | |
parent | 93527967c043c99c708e209502292cf276877bf9 (diff) |
Merge commit 'jrollins/master'
Diffstat (limited to 'src/subcommands/mh/import-key')
-rwxr-xr-x | src/subcommands/mh/import-key | 4 |
1 files changed, 4 insertions, 0 deletions
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 + +} |