R
R
RoffDaniel2019-11-12 12:19:27
linux
RoffDaniel, 2019-11-12 12:19:27

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

In advance, thank you very much!

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
avtomobili, 2019-11-19
@RoffDaniel

This is gemorno, but still there is a solution, the instruction Restricting access to an SFTP user or SSH Chroot

E
Electrica, 2019-11-12
@Electrica

Here , if I understand the question correctly, of course. But according to this instruction, everything works fine

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question