summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2016-01-14 11:02:58 +1100
committerDamien Miller <djm@mindrot.org>2016-01-14 12:10:43 +1100
commit6b33763242c063e4e0593877e835eeb1fd1b60aa (patch)
tree683a89d82f9d4d897ffe0ffe5d08b21bcd614f95
parent34d364f0d2e1e30a444009f0e04299bb7c94ba13 (diff)
forcibly disable roaming support in the client
-rw-r--r--readconf.c5
-rw-r--r--ssh.c3
2 files changed, 2 insertions, 6 deletions
diff --git a/readconf.c b/readconf.c
index 1d03bdf7..cd014821 100644
--- a/readconf.c
+++ b/readconf.c
@@ -1660,7 +1660,7 @@ initialize_options(Options * options)
options->tun_remote = -1;
options->local_command = NULL;
options->permit_local_command = -1;
- options->use_roaming = -1;
+ options->use_roaming = 0;
options->visual_host_key = -1;
options->ip_qos_interactive = -1;
options->ip_qos_bulk = -1;
@@ -1833,8 +1833,7 @@ fill_default_options(Options * options)
options->tun_remote = SSH_TUNID_ANY;
if (options->permit_local_command == -1)
options->permit_local_command = 0;
- if (options->use_roaming == -1)
- options->use_roaming = 1;
+ options->use_roaming = 0;
if (options->visual_host_key == -1)
options->visual_host_key = 0;
if (options->ip_qos_interactive == -1)
diff --git a/ssh.c b/ssh.c
index 59c1f931..67c1ebfa 100644
--- a/ssh.c
+++ b/ssh.c
@@ -1932,9 +1932,6 @@ ssh_session2(void)
fork_postauth();
}
- if (options.use_roaming)
- request_roaming();
-
return client_loop(tty_flag, tty_flag ?
options.escape_char : SSH_ESCAPECHAR_NONE, id);
}