Question
sftp login problems
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
×These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
×/etc/ssh/sshd_config
and add a section including:
Match User user1
ChrootDirectory /home/user1
ForceCommand internal-sftp