Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Apr 2010 13:39:01 -0500 (CDT)
From:      Eric F Crist <ecrist@secure-computing.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   bin/145660: base openssh gives an unusable terminal when using ssh to connect to a host configured for sftp only
Message-ID:  <20100412183901.A7B8511F836@jaguar-2.claimlynx.com>
Resent-Message-ID: <201004121900.o3CJ0Bn2059169@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         145660
>Category:       bin
>Synopsis:       base openssh gives an unusable terminal when using ssh to connect to a host configured for sftp only
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Apr 12 19:00:10 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Eric F Crist
>Release:        FreeBSD 8.0-STABLE amd64
>Organization:
Secure Computing Networks
ClaimLynx, Inc
>Environment:
System: FreeBSD jaguar-2.claimlynx.com 8.0-STABLE FreeBSD 8.0-STABLE #3: Fri Apr 9 11:01:00 CDT 2010 root@jaguar-2.claimlynx.com:/usr/obj/usr/src/sys/GENERIC-CARP amd64


	
>Description:
	The the following sshd_config in place, connecting as user 'testing' to the box gives a blank/empty terminal.  Attempting to run
	any commands yields an error and the session is dropped.  In HEAD, this same scenario is handled with a message indicating the
	current system only allows sftp connections.

>How-To-Repeat:
	Protocol 2
	Subsystem sftp internal-sftp
	Match User testing
		ForceCommand internal-sftp
		X11Forwarding no
		AllowTcpForwarding no
	
	Use the above sshd_config and attempt to log in as user 'testing' via SSH, connecting as SFTP should work.
>Fix:
	This problem does not appear in HEAD.


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100412183901.A7B8511F836>