Answer the question
In order to leave comments, you need to log in
How to create an SSH and SFTP user so that you can only access your own directory?
I found tickets here on a similar issue, but I still didn’t understand, I did everything like here: https://unix.stackexchange.com/questions/208960/ho...
But I have such an error, if this is an error, you can name:
Nov 12 11:02:32 RD-PC sshd[5336]: Accepted password for kov from 192.168.0.168 port 63002 ssh2
Nov 12 11:02:32 RD-PC sshd[5336]: pam_unix(sshd:session): session opened for user kov by (uid=0)
Nov 12 11:02:32 RD-PC sshd[5336]: pam_unix(sshd:session): session closed for user kov
Nov 12 11:02:54 RD-PC sshd[5422] : Accepted password for kov from 192.168.0.168 port 63004 ssh2
Nov 12 11:02:54 RD-PC sshd[5422]: pam_unix(sshd:session): session opened for user kov by (uid=0)
Nov 12 11:02 :54 RD-PC sshd[5422]: pam_unix(sshd:session): session closed for user kov
Answer the question
In order to leave comments, you need to log in
This is gemorno, but still there is a solution, the instruction Restricting access to an SFTP user or SSH Chroot
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question