https://askubuntu.com/questions/420652/how-to-setup-a-restricted-sftp-server-on-ubuntu
Step 1 : Install OpenSSH package if not installed
Step 2 : Create separate group for SFTP users.
Step 3 : Edit /etc/ssh/sshd_config file and make changes as below.
Find and comment below line.
and add these lines to the end of the file.
Step 4 : Restart sshd service.
Step 5 : Add user with ftpaccess group and create password.
Step 6 : Modify home directory permission.
Step 7 : Create a directory inside home for upload and modify permission with group.
That's it . Passwordless sftp http://www.adminschoice.com/how-to-configure-ssh-without-password |
No comments:
Post a Comment