Jim Riddles
asked on
Trouble Adding sFTP Access on Ubuntu 18.04 Server
I'm trying to add sFTP access for a few individual customers. I do not want them to have shell access. I found an article here that works. However, I need my Samba users to be able to access these files, as well, so I needed to change the home directory. As soon as I did that, the user is no longer able to log in.
I'm nearly certain this is a permissions issue, but I can't seem to figure out where the problem is.
I'm nearly certain this is a permissions issue, but I can't seem to figure out where the problem is.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
If you're looking for a zero config approach, do this...
Open in new window
And you're done. SFTP will now work for any /etc/passwd listed user, as expected... chrooted... nothing else todo...
Note: Some Distros provide a sftp_config with a Home setting, be sure to comment this out to use /etc/passwd home directories outside the /home directory hierarchy.