]> git.pld-linux.org Git - packages/openssh.git/commitdiff
- rel 4
authorklakier <klakier@pld-linux.org>
Tue, 11 Sep 2001 22:14:17 +0000 (22:14 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- generating new keys moved to opensshd.init
  stb, PLEASE LEAVE THIS REL IN TEST UNTIL IT IS REALLY TESTED OUT!

Changed files:
    openssh.spec -> 1.91

openssh.spec

index a02e2010078350203e8ad75481987b529cceddc8..ae5b65471f4b45e7a4ea0661f211613e5efa3925 100644 (file)
@@ -219,19 +219,6 @@ rm -rf $RPM_BUILD_ROOT
 
 %post server
 /sbin/chkconfig --add sshd
-if [ ! -f %{_sysconfdir}/ssh_host_key -o ! -s %{_sysconfdir}/ssh_host_key ]; then
-       %{_bindir}/ssh-keygen -t rsa1 -f %{_sysconfdir}/ssh_host_key -N '' 1>&2
-       chmod 600 %{_sysconfdir}/ssh_host_key
-fi
-if [ ! -f %{_sysconfdir}/ssh_host_rsa_key -o ! -s %{_sysconfdir}/ssh_host_rsa_key ]; then
-        %{_bindir}/ssh-keygen -t rsa -f %{_sysconfdir}/ssh_host_rsa_key -N '' 1>&2
-       chmod 600 %{_sysconfdir}/ssh_host_rsa_key
-fi
-
-if [ ! -f %{_sysconfdir}/ssh_host_dsa_key -o ! -s %{_sysconfdir}/ssh_host_dsa_key ]; then
-        %{_bindir}/ssh-keygen -t dsa -f %{_sysconfdir}/ssh_host_dsa_key -N '' 1>&2
-       chmod 600 %{_sysconfdir}/ssh_host_dsa_key
-fi
 if [ -f /var/lock/subsys/sshd ]; then
        /etc/rc.d/init.d/sshd restart 1>&2
 else
This page took 0.040362 seconds and 4 git commands to generate.