这里会显示出您选择的修订版和当前版本之间的差别。
| 两侧同时换到之前的修订记录 前一修订版 | |||
|
Setup_SFTP_only_user_accounts_for_file_sharing [2019/03/29 02:57] whr |
Setup_SFTP_only_user_accounts_for_file_sharing [2019/03/29 03:01] (当前版本) whr |
||
|---|---|---|---|
| 行 16: | 行 16: | ||
| PermitTunnel no | PermitTunnel no | ||
| </code> | </code> | ||
| - | The above configuration mean for every users with **ftp** group logging from SSH, **chroot(2)** the sessions to their home directory, and allowing only SFTP session. | + | The above configuration mean for every users with **ftp** group logging from SSH, **chroot(2)** the session processes to their home directory, and allowing only SFTP session. |
| If you need to use public key authentication method for SFTP users, add | If you need to use public key authentication method for SFTP users, add | ||
| <code sshd_config> | <code sshd_config> | ||