]> granicus.if.org Git - curl/commitdiff
Tighten up a few more OpenSSH options
authorDan Fandrich <dan@coneharvesters.com>
Tue, 27 Mar 2007 04:01:39 +0000 (04:01 +0000)
committerDan Fandrich <dan@coneharvesters.com>
Tue, 27 Mar 2007 04:01:39 +0000 (04:01 +0000)
tests/README
tests/sshserver.pl

index 11d42d415a8518723a8abfe7d83c55c9e8d1cef1..fc31405e75ac9b868ef0a7272cf3f13500b72675 100644 (file)
@@ -10,7 +10,7 @@ Requires:
   perl (and a unix-style shell)
   diff (when a test fail, a diff is shown)
   stunnel (for HTTPS and FTPS tests)
-  sshd (for SCP and SFTP tests; OpenSSH ver. 3.9 is known to work)
+  sshd (for SCP and SFTP tests; OpenSSH ver. 3.8 is known to work)
 
 TCP ports used:
 
index 07762c2b1273bc4f1b264c93f084393243a6f0ca..83fdbc7aff0288cf2bc9e4a59b66cd4567ce4a72 100644 (file)
@@ -91,6 +91,8 @@ print FILE <<EOF
 # This is a generated file!  Do not edit!
 # OpenSSH sshd configuration file for curl testing
 AllowUsers $username
+DenyUsers
+DenyGroups
 AuthorizedKeysFile $path/curl_client_key.pub
 HostKey $path/curl_host_dsa_key
 PidFile $path/.ssh.pid
@@ -98,6 +100,7 @@ Port $port
 ListenAddress localhost
 Protocol 2
 AllowTcpForwarding no
+GatewayPorts no
 HostbasedAuthentication no
 IgnoreRhosts yes
 IgnoreUserKnownHosts yes
@@ -111,6 +114,7 @@ StrictModes no
 Subsystem sftp $sftp
 UseLogin no
 X11Forwarding no
+UsePrivilegeSeparation no
 # Newer OpenSSH options
 UsePam no
 UseDNS no