How To Enable SFTP Access to User Without Shell Access
Автор: Andrey Kargashinskiy
Загружено: 2024-08-20
Просмотров: 165
Описание:
Sometimes we need to create a user and grant him access to a folder only via SFTP. Let's look at how this can be done on Ubuntu Linux.
Match User tells the SSH server to apply the following commands only to one user mike.
ForceCommand internal-sftp we allow access via SFTP and deny via SSH.
PasswordAuthentication yes allows password authentication for user mike.
ChrootDirectory /var/sftp/ ensures that the user will not be allowed access to anything beyond the /var/sftp directory.
AllowAgentForwarding no, AllowTcpForwarding no, and X11Forwarding no - disables port forwarding, tunneling, and X11 forwarding.
=======
= My Telegram =
Telegram: https://t.me/programming_lessons (with programming lessons)
= Cheap domains for website =
Domains: https://www.namesilo.com/domain/searc...
= Super AI =
Super AI Telegram Channel: https://t.me/alotofai
= Donation =
USDT (TRC 20): TKnofMXb16uRVAH9ismNAf2uPiGsS2wbqA
Повторяем попытку...

Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: