bugzilla-daemon at mindrot.org
2003-Apr-02 04:47 UTC
[Bug 528] ProxyCommand none breaks ssh
http://bugzilla.mindrot.org/show_bug.cgi?id=528 Summary: ProxyCommand none breaks ssh Product: Portable OpenSSH Version: 3.6p1 Platform: All OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: ssh AssignedTo: openssh-unix-dev at mindrot.org ReportedBy: arjones at simultan.dyndns.org I'm actually running 3.6.1p1, but Bugzilla doesn't have an entry for it yet. :) Pardon me if i'm an idiot, but the documentation says i can set ProxyCommand to none in ssh_config, and i even see special provisions for that keyword in the source code, but it doesn't work. When i set it, i get the errors: /bin/sh: line 1: exec: none: not found ssh_exchange_identification: Connection closed by remote host I checked this, and this results from passing options.proxy_command = "none" to ssh_connect. Looks like You might need the following patch: --- sshconnect.c.orig 2003-04-02 06:51:28.000000000 +0200 +++ sshconnect.c 2003-04-02 06:53:42.000000000 +0200 @@ -258,7 +258,8 @@ port = SSH_DEFAULT_PORT; } /* If a proxy command is given, connect using it. */ - if (proxy_command != NULL) + if (proxy_command != NULL && + strcmp(options.proxy_command, "none") == 0) return ssh_proxy_connect(host, port, proxy_command); /* No proxy command. */ ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.