openssh sftp fails to start a session

Tim Rice tim at
Wed Jun 2 14:57:13 EST 2010

On Wed, 2 Jun 2010, Phillip Wu wrote:

> Hi,
> I am having trouble running sftp from the openssh package openssh-5.5p1. There seems to
> be an authentication problem.
> This is what happens:
> $ sftp -o "Port 2022" testu at localhost
> testu at localhost's password:
> Connection closed
> Can someone spot the problem please? How do I fix this?
> subsystem request for sftp
> debug1: subsystem: cannot stat /home/myuser/openssh/libexec/sftp-server: Permission denied

looks like a permissions problem.
Show us the output of
ls -ld / /home /home/myuser /home/myuser/openssh /home/myuser/openssh/libexec
ls -ld /home/myuser/openssh/libexec/sftp-server

Tim Rice				Multitalents	(707) 887-1469
tim at

More information about the openssh-unix-dev mailing list