Comments on Setting Up FTP^H^H^H SFTP In A Hurry For File Uploads Using OpenSSH
Setting Up FTP^H^H^H SFTP In A Hurry For File Uploads Using OpenSSH Secure file transfer gets too little attention, perhaps because it is too easy. For secure file transfer without the need of special programs or clients, nothing more is needed than to have the OpenSSH server installed and running. It has a built-in SFTP subsystem that is available to any account that can log in. In other words, for basic SFTP access, nothing needs to be done other than have an account accessible via SSH.
3 Comment(s)
Comments
Please note that you need to have OpenSSH version, 5.1 or greater to take advantage of this (ForceCommand was added in 4.4, ChrootDirectory was added in 4.8.1 and Match group in ?5.1 i think?). Unfortunately, CentOS/RHEL 5 only backports security fixes so you'll have to wait for RHEL 6 or compile your own version.
I see you tried to erase FTP to replace it with SFTP. Down with the backspace key!
It would be good to mention that "ChrootDirectory" configuration option is available from version 4.8p1 onwards....