[csw-devel] SF.net SVN: gar:[16541] csw/mgar/pkg/openssh/trunk/files

chninkel at users.sourceforge.net chninkel at users.sourceforge.net
Fri Dec 16 20:47:49 CET 2011


Revision: 16541
          http://gar.svn.sourceforge.net/gar/?rev=16541&view=rev
Author:   chninkel
Date:     2011-12-16 19:47:49 +0000 (Fri, 16 Dec 2011)
Log Message:
-----------
openssh: fixed an error in server key generation (Closes: #4876)

Modified Paths:
--------------
    csw/mgar/pkg/openssh/trunk/files/changelog.CSW
    csw/mgar/pkg/openssh/trunk/files/cswopenssh
    csw/mgar/pkg/openssh/trunk/files/sshd.smf_wrapper

Modified: csw/mgar/pkg/openssh/trunk/files/changelog.CSW
===================================================================
--- csw/mgar/pkg/openssh/trunk/files/changelog.CSW	2011-12-16 16:23:22 UTC (rev 16540)
+++ csw/mgar/pkg/openssh/trunk/files/changelog.CSW	2011-12-16 19:47:49 UTC (rev 16541)
@@ -1,3 +1,9 @@
+openssh (5.9p1,REV=2011.12.16) unstable
+
+  * Fixed an error in server key generation (Closes: #4876)
+
+ -- Yann Rouillard <yann at opencsw.org>  Fri, 16 Dec 2011 20:46:24 +0100
+
 openssh (5.9p1,REV=2011.09.19) unstable
 
   * New upstream release.

Modified: csw/mgar/pkg/openssh/trunk/files/cswopenssh
===================================================================
--- csw/mgar/pkg/openssh/trunk/files/cswopenssh	2011-12-16 16:23:22 UTC (rev 16540)
+++ csw/mgar/pkg/openssh/trunk/files/cswopenssh	2011-12-16 19:47:49 UTC (rev 16541)
@@ -20,7 +20,7 @@
 		for ALGO in rsa dsa ecdsa; do
 			if [ ! -f "$KEYDIR/ssh_host_${ALGO}_key" ]; then
 				echo "Creating new ${ALGO} public/private host key pair"
-				ssh-keygen -f $KEYDIR/ssh_host_${ALGO}_key -t rsa -N ''
+				ssh-keygen -f $KEYDIR/ssh_host_${ALGO}_key -t ${ALGO} -N ''
 			fi
 		done
         fi

Modified: csw/mgar/pkg/openssh/trunk/files/sshd.smf_wrapper
===================================================================
--- csw/mgar/pkg/openssh/trunk/files/sshd.smf_wrapper	2011-12-16 16:23:22 UTC (rev 16540)
+++ csw/mgar/pkg/openssh/trunk/files/sshd.smf_wrapper	2011-12-16 19:47:49 UTC (rev 16541)
@@ -8,7 +8,7 @@
 	for ALGO in rsa dsa ecdsa; do
 		if [ ! -f "$KEYDIR/ssh_host_${ALGO}_key" ]; then
 			echo "Creating new ${ALGO} public/private host key pair"
-			ssh-keygen -f $KEYDIR/ssh_host_${ALGO}_key -t rsa -N ''
+			ssh-keygen -f $KEYDIR/ssh_host_${ALGO}_key -t ${ALGO} -N ''
 		fi
 	done
 fi

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list