From owner-freebsd-bugs Fri Feb 9 9:13: 2 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 58CD037BBE6 for ; Fri, 9 Feb 2001 08:30:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f19GU1E76768; Fri, 9 Feb 2001 08:30:01 -0800 (PST) (envelope-from gnats) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id B187337BBBC for ; Fri, 9 Feb 2001 07:36:39 -0800 (PST) Received: (from nobody@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f19FadY68213; Fri, 9 Feb 2001 07:36:39 -0800 (PST) (envelope-from nobody) Message-Id: <200102091536.f19FadY68213@freefall.freebsd.org> Date: Fri, 9 Feb 2001 07:36:39 -0800 (PST) From: kway@wgate.com To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: misc/24968: sshd: connections using '-t' always run a shell, not what was specified. Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 24968 >Category: misc >Synopsis: sshd: connections using '-t' always run a shell, not what was specified. >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Feb 09 08:30:01 PST 2001 >Closed-Date: >Last-Modified: >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 >Fix: >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message