]> andersk Git - openssh.git/commitdiff
- markus@cvs.openbsd.org 2003/02/06 09:27:29
authordjm <djm>
Mon, 24 Feb 2003 00:57:32 +0000 (00:57 +0000)
committerdjm <djm>
Mon, 24 Feb 2003 00:57:32 +0000 (00:57 +0000)
     [ssh.c ssh_config.5]
     support 'ProxyCommand none'; bugzilla #433; binder@arago.de; ok djm@

ChangeLog
ssh.c
ssh_config.5

index a63241fbe88e77303ccafbfca214cc12114c9a06..f5577fe86509af9eca31e2637f5768b80c3a4128 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -45,6 +45,9 @@
    - markus@cvs.openbsd.org 2003/02/06 09:26:23
      [session.c]
      missing call to setproctitle() after authentication; ok provos@
+   - markus@cvs.openbsd.org 2003/02/06 09:27:29
+     [ssh.c ssh_config.5]
+     support 'ProxyCommand none'; bugzilla #433; binder@arago.de; ok djm@
 
 20030211
  - (djm) Cygwin needs libcrypt too. Patch from vinschen@redhat.com
diff --git a/ssh.c b/ssh.c
index 7162e680d39ff6d0e05cae30b1221ccc4c44983b..7206043941f7af270f1c8986fe69e7952e217c7c 100644 (file)
--- a/ssh.c
+++ b/ssh.c
@@ -40,7 +40,7 @@
  */
 
 #include "includes.h"
-RCSID("$OpenBSD: ssh.c,v 1.189 2002/12/09 16:50:30 millert Exp $");
+RCSID("$OpenBSD: ssh.c,v 1.190 2003/02/06 09:27:29 markus Exp $");
 
 #include <openssl/evp.h>
 #include <openssl/err.h>
@@ -601,6 +601,10 @@ again:
        if (options.hostname != NULL)
                host = options.hostname;
 
+       if (options.proxy_command != NULL &&
+           strcmp(options.proxy_command, "none") == 0)
+               options.proxy_command = NULL;
+
        /* Disable rhosts authentication if not running as root. */
 #ifdef HAVE_CYGWIN
        /* Ignore uid if running under Windows */
index ac05a0ceae713fffe09d6a9bc2c8a3bbe51b8f87..710c068c5bd6984501193ca65c4826356da83cb8 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.5 2002/08/29 22:54:10 stevesk Exp $
+.\" $OpenBSD: ssh_config.5,v 1.6 2003/02/06 09:27:29 markus Exp $
 .Dd September 25, 1999
 .Dt SSH_CONFIG 5
 .Os
@@ -474,6 +474,9 @@ somewhere.
 Host key management will be done using the
 HostName of the host being connected (defaulting to the name typed by
 the user).
+Setting the command to                                                             
+.Dq none                                                                       
+disables this option entirely.
 Note that
 .Cm CheckHostIP
 is not available for connects with a proxy command.
This page took 0.049065 seconds and 5 git commands to generate.