X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=ssh.c;h=d20b1305103d6ee51f2c9624903ea2f555d3766c;hb=d83cd2f79bba111660262af0827296cb76e17040;hp=0f6793ad4013573a31288a4c2e6e5eae823c9f35;hpb=f2b0335c48ee9afe69420f9869cf205f018ace99;p=PuTTY.git diff --git a/ssh.c b/ssh.c index 0f6793ad..d20b1305 100644 --- a/ssh.c +++ b/ssh.c @@ -2410,6 +2410,8 @@ static int do_ssh_init(Ssh ssh, unsigned char c) strcspn(verstring, "\015\012"), verstring); sk_write(ssh->s, verstring, strlen(verstring)); sfree(verstring); + if (ssh->version == 2) + do_ssh2_transport(ssh, NULL, -1, NULL); } logeventf(ssh, "Using SSH protocol version %d", ssh->version);