summaryrefslogtreecommitdiff
path: root/ssh.c
diff options
context:
space:
mode:
authordtucker@openbsd.org <dtucker@openbsd.org>2016-06-03 04:09:38 +0000
committerDamien Miller <djm@mindrot.org>2016-06-08 11:39:31 +1000
commit0cb2f4c2494b115d0f346ed2d8b603ab3ba643f4 (patch)
tree541671083abd0311f6a5e1c8af47bf79cb6c8056 /ssh.c
parent8543ff3f5020fe659839b15f05b8c522bde6cee5 (diff)
upstream commit
Allow ExitOnForwardFailure and ClearAllForwardings to be overridden when using ssh -W (but still default to yes in that case). bz#2577, ok djm@. Upstream-ID: 4b20c419e93ca11a861c81c284090cfabc8c54d4
Diffstat (limited to 'ssh.c')
-rw-r--r--ssh.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/ssh.c b/ssh.c
index 702631c76..e7d4fd915 100644
--- a/ssh.c
+++ b/ssh.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: ssh.c,v 1.441 2016/06/03 03:14:41 dtucker Exp $ */ 1/* $OpenBSD: ssh.c,v 1.442 2016/06/03 04:09:39 dtucker Exp $ */
2/* 2/*
3 * Author: Tatu Ylonen <ylo@cs.hut.fi> 3 * Author: Tatu Ylonen <ylo@cs.hut.fi>
4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland 4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -782,8 +782,6 @@ main(int ac, char **av)
782 } 782 }
783 options.request_tty = REQUEST_TTY_NO; 783 options.request_tty = REQUEST_TTY_NO;
784 no_shell_flag = 1; 784 no_shell_flag = 1;
785 options.clear_forwardings = 1;
786 options.exit_on_forward_failure = 1;
787 break; 785 break;
788 case 'q': 786 case 'q':
789 options.log_level = SYSLOG_LEVEL_QUIET; 787 options.log_level = SYSLOG_LEVEL_QUIET;