Displaying 1 result from an estimated 1 matches for "sshd_do_rsa1_keygen".
Did you mean:
sshd_do_dsa_keygen
2001 Feb 18
3
PATCH: Round 2: RH initscripts backward compatibility
...f $RSA1_KEY ; then
- echo -n "Generating SSH1 RSA host key: "
- if $KEYGEN -q -t rsa1 -f $RSA1_KEY -C '' -N '' >&/dev/null; then
- success "RSA1 key generation"
+LOCKFILE=/var/lock/subsys/sshd
+
+# Define some functions to make the below more readable
+sshd_do_rsa1_keygen() {
+ if [ ! -s "${RSA1_KEY}" ]; then
+ echo -n $(localized $"Generating SSH1 RSA host key: ")
+ if "${KEYGEN}" -q -t rsa1 -f "${RSA1_KEY}" -C '' -N '' \
+ &>/dev/null
+ then
+ my_success $"RSA1 key generation"
echo...