[packages/openssh] add sample how to enable dsa keys
glen
glen at pld-linux.org
Sun Oct 4 01:19:07 CEST 2015
commit 7b7580be04c239a974d16f43adbdcf5861bdced0
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Sun Oct 4 02:19:01 2015 +0300
add sample how to enable dsa keys
openssh-config.patch | 13 ++++++++-----
openssh.spec | 2 +-
2 files changed, 9 insertions(+), 6 deletions(-)
---
diff --git a/openssh.spec b/openssh.spec
index 0007faf..44d425f 100644
--- a/openssh.spec
+++ b/openssh.spec
@@ -46,7 +46,7 @@ Summary(ru.UTF-8): OpenSSH - свободная реализация прото
Summary(uk.UTF-8): OpenSSH - вільна реалізація протоколу Secure Shell (SSH)
Name: openssh
Version: 7.1p1
-Release: 1
+Release: 2
Epoch: 2
License: BSD
Group: Applications/Networking
diff --git a/openssh-config.patch b/openssh-config.patch
index 51c9878..e206e23 100644
--- a/openssh-config.patch
+++ b/openssh-config.patch
@@ -9,7 +9,7 @@
#StrictModes yes
#MaxAuthTries 6
#MaxSessions 10
-@@ -50,10 +51,13 @@
+@@ -50,10 +51,16 @@
#IgnoreUserKnownHosts no
# Don't read the user's ~/.rhosts and ~/.shosts files
#IgnoreRhosts yes
@@ -20,10 +20,13 @@
#PermitEmptyPasswords no
+PasswordAuthentication yes
+PermitEmptyPasswords no
++
++# Allow DSA keys
++#PubkeyAcceptedKeyTypes +ssh-dss
# Change to no to disable s/key passwords
#ChallengeResponseAuthentication yes
-@@ -66,6 +67,8 @@
+@@ -66,6 +70,8 @@
# GSSAPI options
#GSSAPIAuthentication no
#GSSAPICleanupCredentials yes
@@ -32,7 +35,7 @@
# Set this to 'yes' to enable PAM authentication, account processing,
# and session processing. If this is enabled, PAM authentication will
-@@ -89,10 +89,12 @@
+@@ -89,10 +92,12 @@
# If you just want the PAM account and session checks to run without
# PAM authentication, then enable this but set PasswordAuthentication
# and ChallengeResponseAuthentication to 'no'.
@@ -47,7 +50,7 @@
#GatewayPorts no
#X11Forwarding no
#X11DisplayOffset 10
-@@ -106,6 +109,9 @@
+@@ -106,6 +112,9 @@
# no default banner path
#Banner /some/path
@@ -57,7 +60,7 @@
# override default of no subsystems
Subsystem sftp /usr/libexec/sftp-server
-@@ -119,6 +130,10 @@
+@@ -119,6 +133,10 @@
# override default of no subsystems
Subsystem sftp /usr/libexec/sftp-server
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/openssh.git/commitdiff/7b7580be04c239a974d16f43adbdcf5861bdced0
More information about the pld-cvs-commit
mailing list