search for: sshd_do_dsa_keygen

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

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