summaryrefslogtreecommitdiff
path: root/ssh.c
diff options
context:
space:
mode:
Diffstat (limited to 'ssh.c')
-rw-r--r--ssh.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/ssh.c b/ssh.c
index 430773c74..57b53fb28 100644
--- a/ssh.c
+++ b/ssh.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: ssh.c,v 1.414 2015/01/20 23:14:00 deraadt Exp $ */ 1/* $OpenBSD: ssh.c,v 1.415 2015/02/20 22:17:21 djm 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
@@ -1072,6 +1072,12 @@ main(int ac, char **av)
1072 strcmp(options.proxy_command, "-") == 0 && 1072 strcmp(options.proxy_command, "-") == 0 &&
1073 options.proxy_use_fdpass) 1073 options.proxy_use_fdpass)
1074 fatal("ProxyCommand=- and ProxyUseFDPass are incompatible"); 1074 fatal("ProxyCommand=- and ProxyUseFDPass are incompatible");
1075 if (options.control_persist &&
1076 options.update_hostkeys == SSH_UPDATE_HOSTKEYS_ASK) {
1077 debug("UpdateHostKeys=ask is incompatible with ControlPersist; "
1078 "disabling");
1079 options.update_hostkeys = 0;
1080 }
1075#ifndef HAVE_CYGWIN 1081#ifndef HAVE_CYGWIN
1076 if (original_effective_uid != 0) 1082 if (original_effective_uid != 0)
1077 options.use_privileged_port = 0; 1083 options.use_privileged_port = 0;