Date: Fri, 9 Feb 2001 12:40:02 -0800 (PST) From: Peter Pentchev <roam@orbitel.bg> To: freebsd-bugs@FreeBSD.org Subject: Re: misc/24968: sshd: connections using '-t' always run a shell, not what was specified. Message-ID: <200102092040.f19Ke2N13795@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: Peter Pentchev <roam@orbitel.bg> To: kway@wgate.com Cc: freebsd-gnats-submit@FreeBSD.org Subject: Re: misc/24968: sshd: connections using '-t' always run a shell, not what was specified. Date: Fri, 9 Feb 2001 22:32:56 +0200 On Fri, Feb 09, 2001 at 07:36:39AM -0800, kway@wgate.com wrote: > > >Number: 24968 > >Category: misc > >Synopsis: sshd: connections using '-t' always run a shell, not what was specified. > >Originator: Kevin Way > >Release: FreeBSD 4.2-STABLE : Fri Jan 12 > >Organization: > >Environment: > FreeBSD way.eng.tvol.net 4.2-STABLE FreeBSD 4.2-STABLE #0: Fri Jan 12 15:15:31 EST 2001 root@way.eng.tvol.net:/usr/obj/usr/src/sys/KEVIN i386 > >Description: > sshd fails to run the specified command if the client specifies the -t option. instead it ALWAYS runs an interactive shell. This behaviour differs from the previous version of OpenSSH. > >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: [roam@ringworld:v2 ~]$ ssh -t localhost uname -a roam@localhost's password: FreeBSD ringworld.oblivion.bg 4.2-STABLE FreeBSD 4.2-STABLE #10: Fri Feb 9 12:08:48 EET 2001 root@ringworld.oblivion.bg:/usr/obj/usr/src/sys/RINGWORLD i386 Connection to localhost closed. [roam@ringworld:v2 ~]$ 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. G'luck, Peter -- What would this sentence be like if it weren't self-referential? 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?200102092040.f19Ke2N13795>