I am working on making a new user with SSH access to my server for file sharing purposes via WinSCP. My goal was to restrict them to their home directory by having their default shell be rbash, but when I do this it won't let me connect to the server and it will stop at the "Connecting to Host..." message. I can connect with this user when the shell is set to the default shell. Is there a permission that I need to modify to get around this?
There is an entry in /etc/shells
for rbash
.
edit