Hi!
I've been fooling around with SFTP. I can get it up and running, but whenever I do so, I can't nog longer log in with SSH with my user.
SFTP is set up for another user that should have SFTP access only.
Basicly, I just wanna share a few files with a friend - but not letting this friend be able to access anything else on my server.
I've read the thousand different SFTP-guides that are out there, so I'm guessing I'm making a pretty easy configuration error.
This is my sshd_config:
Code:
# -- Chrooted sftp server options
#Subsystem sftp internal-sftp
#Match Group sftpusers sftpuser
#ChrootDirectory /home/%u
#ForceCommand internal-sftp
#AllowTcpForwarding No
#X11Forwarding no
#AllowGroups sftpusers sftpuser myuser
Could someone please tell what is shutting my user out?