1

SFTP Resticting Only Uploading Of A File

view story
linux-howto

http://www.linuxquestions.org – I have setup our SFTP server: Code: SFTP Setup: /etc/ssh/sshd_config:     Subsystem sftp internal-sftp     Match Group sftpusers     PasswordAuthentication yes     ChrootDirectory /srv/sftponly     AllowTCPForwarding no     X11Forwarding no     ForceCommand internal-sftp Adding the sftp group:     groupadd sftpusers Creating the only account for SFTP Access     useradd -d /srv/sftponly -g sftpusers -s /bin/false sftpuser     passwd sftpuser Restart openssh:     /etc/init.d (HowTos)