Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations sizbut on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Request for subsystem 'sftp' failed on channel 0

Status
Not open for further replies.

normntwrk

MIS
Aug 12, 2002
336
US
I installed Openssh 3.7p1 on two AIX 4.3.3 servers and had the same problem with both of them. Re-installation of Openssh fixed one of them but not the other.

Line is uncommented in sshd_config redgarding sftp
sshd_config:

# override default of no subsystems
Subsystem sftp /usr/local/libexec/sftp-server

I get this everytime I try to use sftp:

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

I can manually use sftp by doing the following:
% sftp -s /usr/local/libexec/sftp-server localhost
Connecting to localhost...
norm@localhost's password:
sftp>

I have checked the /etc/csh.cshrc and I don't have a .cshrc in my home dir

Any help would be appreciated

Norm
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top