mirror of
https://github.com/tmate-io/tmate-ssh-server.git
synced 2020-11-18 19:53:51 -08:00
Enable compression
This commit is contained in:
parent
7d78035e42
commit
e0861e170a
@ -22,6 +22,8 @@ static void client_bootstrap(struct tmate_ssh_client *client)
|
||||
setsockopt(ssh_get_fd(session), IPPROTO_TCP, TCP_NODELAY, &flag, sizeof(flag));
|
||||
alarm(SSH_GRACE_PERIOD);
|
||||
|
||||
ssh_options_set(session, SSH_OPTIONS_COMPRESSION, "yes");
|
||||
|
||||
tmate_debug("Exchanging DH keys");
|
||||
|
||||
if (ssh_handle_key_exchange(session) < 0)
|
||||
|
Loading…
x
Reference in New Issue
Block a user