ssh(sftp)

Добрый день.
Не могли бы помочь с решением данной проблемы?
Не проходит авторизация пользователей кроме одного (tehnika) по протоколу sftp.
#Subsystem sftp /usr/lib/openssh/sftp-server
# Set this to 'yes' to enable PAM authentication, account processing,
# and session processing. If this is enabled, PAM authentication will
# be allowed through the ChallengeResponseAuthentication and
# PasswordAuthentication.  Depending on your PAM configuration,
# PAM authentication via ChallengeResponseAuthentication may bypass
# the setting of "PermitRootLogin without-password".
# If you just want the PAM account and session checks to run without
# PAM authentication, then enable this but set PasswordAuthentication
# and ChallengeResponseAuthentication to 'no'.
UsePAM yes
Subsystem sftp internal-sftp
Match Group sftp
    ChrootDirectory %h
    AllowTCPForwarding no
    ForceCommand internal-sftp
Делал по вышей статье:
habrahabr.ru/post/139461/
Группы:
sftp:x:1001:user,phpmyadmin,tehnika
Александр
21 декабря 2015, 10:47
modx.pro
1 258
0

Комментарии: 3

Abu
Abu
21 декабря 2015, 20:35
0
А пользователи в группе sftp? что пишет в /var/log/auth.log
Авторизуйтесь или зарегистрируйтесь, чтобы оставлять комментарии.
3