search for: sshd_do_rsa_keygen

Displaying 1 result from an estimated 1 matches for "sshd_do_rsa_keygen".

Did you mean: sshd_do_dsa_keygen
2001 Feb 18
3
PATCH: Round 2: RH initscripts backward compatibility
...;RSA1 key generation" echo exit 1 fi fi } -do_rsa_keygen() { - if ! test -f $RSA_KEY ; then - echo -n "Generating SSH2 RSA host key: " - if $KEYGEN -q -t rsa -f $RSA_KEY -C '' -N '' >&/dev/null; then - success "RSA key generation" + +sshd_do_rsa_keygen() { + if [ ! -s "${RSA_KEY}" ]; then + echo -n $(localized $"Generating SSH2 RSA host key: ") + if "${KEYGEN}" -q -t rsa -f "${RSA_KEY}" -C '' -N '' \ + &>/dev/null + then + my_success $"RSA key generation" echo...