ubuntuvhost810:sshd_chroot_jail
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| ubuntuvhost810:sshd_chroot_jail [2009/01/02 11:06] – created svschwartz | ubuntuvhost810:sshd_chroot_jail [2009/01/02 12:40] (current) – svschwartz | ||
|---|---|---|---|
| Line 14: | Line 14: | ||
| ForceCommand internal-sftp | ForceCommand internal-sftp | ||
| ChrootDirectory / | ChrootDirectory / | ||
| + | X11Forwarding no | ||
| + | AllowTcpForwarding no | ||
| </ | </ | ||
| Line 21: | Line 23: | ||
| </ | </ | ||
| - | Создадим папку для веб-сайта drivesource | + | Теперь пользователи группы webuser могут получить доступ к сайту **только по протоколу SFTP** |
| < | < | ||
| - | mkdir -p /var/ | + | root@deamon: |
| + | Connecting to localhost... | ||
| + | drivesource@localhost' | ||
| + | sftp> ls | ||
| + | htdocs | ||
| + | sftp> pwd | ||
| + | Remote working directory: | ||
| + | sftp> | ||
| </ | </ | ||
ubuntuvhost810/sshd_chroot_jail.1230894384.txt.gz · Last modified: (external edit)
