SSHD works fine but how do I enable the SFTP Subsystem in Redhat 5.2 Enterprise Linux? It seems to have a older version of SSHD that doesn't support some of the usual directives like Match or ChrootDirectory . So, does anyone have an example of how to do this on Redhat 5.2 (or CentOS 5.2?) ??
The file /usr/libexec/openssh/sftp-server is permissions 755.
I tried both of these in my /etc/ssh/sshd_config file:
#Subsystem sftp /usr/libexec/openssh/sftp-server Subsystem sftp internal-sftp
But neither of them work. My psftp says:
psftp> open 000.000.00.00 login as: root email@example.com's password: bash: line 2: exec: sftp-server: not found Fatal: unable to initialise SFTP: could not connect psftp>