Quantcast
Channel: Comments for The Developer's Tidbits
Viewing all articles
Browse latest Browse all 373

Comment on Implement a SFTP Service for Ubuntu/Debian With a Chroot’ed, Isolated File Directory. by Ben

$
0
0
What I would suggest first is using a copy of the default untouched sshd_config. <code>nano +76 sshd_config</code> change the line <code>Subsystem sftp /usr/lib/openssh/sftp-server</code> with <code>Subsystem sftp internal-sftp</code> then scroll to the bottom of the file and after <code>UsePAM yes</code> add <code>ForceCommand internal-sftp</code> You should be able to use filezilla etc to log in using any account including root (so don't do this on a live in the wild server). From there you can troubleshoot to see which of your modifications is causing a problem.

Viewing all articles
Browse latest Browse all 373

Trending Articles