diff options
author | Damien Miller <djm@mindrot.org> | 2016-01-14 11:02:58 +1100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2016-01-14 12:10:43 +1100 |
commit | 6b33763242c063e4e0593877e835eeb1fd1b60aa (patch) | |
tree | 683a89d82f9d4d897ffe0ffe5d08b21bcd614f95 | |
parent | 34d364f0d2e1e30a444009f0e04299bb7c94ba13 (diff) |
forcibly disable roaming support in the client
-rw-r--r-- | readconf.c | 5 | ||||
-rw-r--r-- | ssh.c | 3 |
2 files changed, 2 insertions, 6 deletions
@@ -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) @@ -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); } |