Request for subsystem 'sftp' failed on channel 0

Darren Tucker dtucker at
Wed Nov 12 20:29:25 EST 2003

Norm Fredrick wrote:
> I installed OpenSSH_3.7p1 on 2 AIX 4.3.3 servers

You may want to consider using 3.7.1p2 instead.

> % sftp localhost
> Connecting to localhost...
> norm at localhost's password:
> Request for subsystem 'sftp' failed on channel 0
> Connection closed

Try running the server in debug mode, this may give some indication as to
why the channel open failed.

In one session, run (as root):
# /usr/local/sbin/sshd -ddd -p 2022

and in another, run:
$ sftp -o Port=2022 localhost

If there's nothing obvious, post the output of sshd to the list.

Darren Tucker (dtucker at
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4  37C9 C982 80C7 8FF4 FA69
    Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.

More information about the openssh-unix-dev mailing list