diff options
author | 2018-01-23 05:27:21 +0000 | |
---|---|---|
committer | 2018-01-23 05:27:21 +0000 | |
commit | 672fe979a97fd7692fe5dc383491eee200cc82a4 (patch) | |
tree | a5eee618fbb044084bc9499817fa167955edbd0c /usr.bin/ssh/ssh.c | |
parent | try harder to preserve errno during ssh_connect_direct() to make the (diff) | |
download | wireguard-openbsd-672fe979a97fd7692fe5dc383491eee200cc82a4.tar.xz wireguard-openbsd-672fe979a97fd7692fe5dc383491eee200cc82a4.zip |
Drop compatibility hacks for some ancient SSH implementations, including
ssh.com <=2.* and OpenSSH <= 3.*.
These versions were all released in or before 2001 and predate the
final SSH RFCs. The hacks in question aren't necessary for RFC-
compliant SSH implementations.
ok markus@
Diffstat (limited to 'usr.bin/ssh/ssh.c')
-rw-r--r-- | usr.bin/ssh/ssh.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/ssh.c b/usr.bin/ssh/ssh.c index 0c15c1978e9..c382fe9f445 100644 --- a/usr.bin/ssh/ssh.c +++ b/usr.bin/ssh/ssh.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ssh.c,v 1.470 2018/01/23 05:06:25 djm Exp $ */ +/* $OpenBSD: ssh.c,v 1.471 2018/01/23 05:27:21 djm Exp $ */ /* * Author: Tatu Ylonen <ylo@cs.hut.fi> * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland @@ -1881,7 +1881,7 @@ ssh_session2(struct ssh *ssh, struct passwd *pw) if (options.control_persist && muxserver_sock == -1) ssh_init_stdio_forwarding(ssh); - if (!no_shell_flag || (datafellows & SSH_BUG_DUMMYCHAN)) + if (!no_shell_flag) id = ssh_session2_open(ssh); else { packet_set_interactive( |