bin/145660: base openssh gives an unusable terminal when using ssh to connect to a host configured for sftp only

Eric F Crist ecrist at secure-computing.net
Mon Apr 12 19:00:12 UTC 2010


>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 at 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:


More information about the freebsd-bugs mailing list