]> git.pld-linux.org Git - packages/openssh.git/commitdiff
init: dsa key added
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Thu, 1 Mar 2001 07:55:50 +0000 (07:55 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    opensshd.init -> 1.7

opensshd.init

index 2756528ad18d4463d4b74d85056130b495cf1f36..6cd4f43564a95f52130b9035ae0a4188c0ad99b8 100644 (file)
@@ -65,7 +65,10 @@ 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."
-       ssh-keygen -f /etc/ssh/ssh_host_key
+       /usr/bin/ssh-keygen -b 1024 -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
+       chmod 600 /etc/ssh/ssh_host_dsa_key
        exit $?
        ;;      
   *)
This page took 0.038763 seconds and 4 git commands to generate.