Date: Fri, 9 Feb 2001 21:30:02 -0800 (PST) From: Dima Dorfman <dima@unixfreak.org> To: freebsd-bugs@FreeBSD.org Subject: Re: misc/24968: sshd: connections using '-t' always run a shell, not what was specified. Message-ID: <200102100530.f1A5U2L80406@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR misc/24968; it has been noted by GNATS. From: Dima Dorfman <dima@unixfreak.org> To: Peter Pentchev <roam@orbitel.bg> Cc: freebsd-gnats-submit@freebsd.org Subject: Re: misc/24968: sshd: connections using '-t' always run a shell, not what was specified. Date: Fri, 09 Feb 2001 21:26:49 -0800 > > >How-To-Repeat: > > ssh machine uname -a, and you'll get results > > ssh -t machine uname -a, and you'll get a login shell > > Hmm. > Doesn't seem that way to me: > > [snip successful use of ssh -t] > > Hmm.. when did OpenSSH-2.3.0 hit -stable? This correct behavior with mine > just might be because of something that is different in 2.3.0. This was a bug in OpenSSH 2.3.0 as a result of some FreeBSD modifications. It was fixed in -current on the 21st of January in src/crypto/openssh/session.c: ---------------------------- revision 1.13 date: 2001/01/21 05:45:27; author: green; state: Exp; lines: +2 -2 Actually propagate back to the rest of the application that a command was specified when using -t mode with the SSH client. Submitted by: Dima Dorfman <dima@unixfreak.org> ---------------------------- It was merged to RELENG_4 on the 4th (see rev. 1.4.2.7). Dima Dorfman dima@unixfreak.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200102100530.f1A5U2L80406>