diff options
author | Jameson Graef Rollins <jrollins@finestructure.net> | 2009-02-09 00:42:16 -0500 |
---|---|---|
committer | Jameson Graef Rollins <jrollins@finestructure.net> | 2009-02-09 00:42:16 -0500 |
commit | 69354c87864076343793fb270b296ccb89bf3759 (patch) | |
tree | 1f46c360d432c942594fdaf8b3f4a5a4e5820a86 /src/share | |
parent | c0ab14d9df7959057a04f2ebd837c50e169c1c01 (diff) |
define variable for public key files (HOST_KEY_PUB, HOST_KEY_PUB_GPG).
also, fix some function calls to check_host_fail function.
Diffstat (limited to 'src/share')
-rw-r--r-- | src/share/mh/gen_key | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/share/mh/gen_key b/src/share/mh/gen_key index 1f8e97e..44109bb 100644 --- a/src/share/mh/gen_key +++ b/src/share/mh/gen_key @@ -75,8 +75,8 @@ log debug "exporting ssh secret key..." log info "SSH host private key output to file: ${MHDATADIR}/ssh_host_rsa_key" log debug "creating ssh public key..." -ssh-keygen -y -f "${MHDATADIR}/ssh_host_rsa_key" > "${SYSDATADIR}/ssh_host_rsa_key.pub" -log info "SSH host public key output to file: ${SYSDATADIR}/ssh_host_rsa_key.pub" +ssh-keygen -y -f "${MHDATADIR}/ssh_host_rsa_key" > "$HOST_KEY_PUB" +log info "SSH host public key output to file: $HOST_KEY_PUB" # export public key to file gpg_host_export_to_ssh_file |