From 6b33763242c063e4e0593877e835eeb1fd1b60aa Mon Sep 17 00:00:00 2001 From: Damien Miller Date: Thu, 14 Jan 2016 11:02:58 +1100 Subject: forcibly disable roaming support in the client --- readconf.c | 5 ++--- ssh.c | 3 --- 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); } -- cgit v1.2.3