]> andersk Git - openssh.git/commitdiff
- djm@cvs.openbsd.org 2005/06/18 04:30:36
authordjm <djm>
Sat, 25 Jun 2005 22:56:03 +0000 (22:56 +0000)
committerdjm <djm>
Sat, 25 Jun 2005 22:56:03 +0000 (22:56 +0000)
     [ssh.c ssh_config.5]
     allow ControlPath=none, patch from dwmw2 AT infradead.org; ok dtucker@

ChangeLog
ssh.c
ssh_config.5

index 5115e522b3bc604ff0ad03736474301ffee6e2fb..471cef81942158c4c07cfed0c6d4d9298bac678d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -4,6 +4,9 @@
      [ssh.c sshconnect.c]
      Fix ControlPath's %p expanding to "0" for a default port,
      spotted dwmw2 AT infradead.org; ok markus@
+   - djm@cvs.openbsd.org 2005/06/18 04:30:36
+     [ssh.c ssh_config.5]
+     allow ControlPath=none, patch from dwmw2 AT infradead.org; ok dtucker@
 
 20050618
  - (djm) OpenBSD CVS Sync
diff --git a/ssh.c b/ssh.c
index 2e93b161ae1a8e2ec6ad1771145f60d0b534ec8c..91f8559de0edabba46d4d174af67e90b5c80d8c2 100644 (file)
--- a/ssh.c
+++ b/ssh.c
@@ -40,7 +40,7 @@
  */
 
 #include "includes.h"
-RCSID("$OpenBSD: ssh.c,v 1.244 2005/06/17 22:53:46 djm Exp $");
+RCSID("$OpenBSD: ssh.c,v 1.245 2005/06/18 04:30:36 djm Exp $");
 
 #include <openssl/evp.h>
 #include <openssl/err.h>
@@ -610,6 +610,9 @@ again:
        if (options.proxy_command != NULL &&
            strcmp(options.proxy_command, "none") == 0)
                options.proxy_command = NULL;
+       if (options.control_path != NULL &&
+           strcmp(options.control_path, "none") == 0)
+               options.control_path = NULL;
 
        if (options.control_path != NULL) {
                snprintf(buf, sizeof(buf), "%d", options.port);
index a04ffc288f0f90f71fb5febcc97f734434abc4fd..3e7ca8f28223eb91c4c075e5e15a8a947351cd9d 100644 (file)
@@ -34,7 +34,7 @@
 .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
 .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 .\"
-.\" $OpenBSD: ssh_config.5,v 1.56 2005/06/08 11:25:09 djm Exp $
+.\" $OpenBSD: ssh_config.5,v 1.57 2005/06/18 04:30:36 djm Exp $
 .Dd September 25, 1999
 .Dt SSH_CONFIG 5
 .Os
@@ -293,7 +293,9 @@ option.
 Specify the path to the control socket used for connection sharing as described
 in the
 .Cm ControlMaster
-section above.
+section above or the string
+.Dq none
+to disable connection sharing.
 In the path,
 .Ql %h
 will be substituted by the target host name,
This page took 2.228842 seconds and 5 git commands to generate.