]> git.pld-linux.org Git - packages/openssh.git/commitdiff
generate RSA key on init, too
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Mon, 28 May 2001 19:42:34 +0000 (19:42 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    opensshd.init -> 1.9

opensshd.init

index 7361f156a7f1663faee31a6596b475dc4cfc4824..e4720f52d766387cf09f5b8e44a60f45abcf6f9c 100644 (file)
@@ -65,9 +65,11 @@ case "$1" in
        echo "Now the SSH host key will be generated. Please note, that if you"
        echo "will use password for the key, you will need to type it on each"
        echo "reboot."
-       /usr/bin/ssh-keygen -b 1024 -f /etc/ssh/ssh_host_key
+       /usr/bin/ssh-keygen -t rsa1 -f /etc/ssh/ssh_host_key
        chmod 600 /etc/ssh/ssh_host_key
-        /usr/bin/ssh-keygen -d -f /etc/ssh/ssh_host_dsa_key
+       /usr/bin/ssh-keygen -t rsa -f /etc/ssh/ssh_host_rsa_key
+       chmod 600 /etc/ssh/ssh_host_rsa_key
+        /usr/bin/ssh-keygen -t dsa -f /etc/ssh/ssh_host_dsa_key
        chmod 600 /etc/ssh/ssh_host_dsa_key
        exit $?
        ;;
This page took 0.043044 seconds and 4 git commands to generate.