차이
문서의 선택한 두 판 사이의 차이를 보여줍니다.
양쪽 이전 판이전 판다음 판 | 이전 판 | ||
tech:ssh_sftp_jail [2016/12/21 11:37] – V_L | tech:ssh_sftp_jail [2016/12/22 09:03] (현재) – [711퍼미션] V_L | ||
---|---|---|---|
줄 1: | 줄 1: | ||
{{tag> | {{tag> | ||
======Ssh Sftp Jail====== | ======Ssh Sftp Jail====== | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
=====711퍼미션===== | =====711퍼미션===== | ||
줄 16: | 줄 21: | ||
sudo chmod 711 /mnt | sudo chmod 711 /mnt | ||
sudo chmod 711 /opt | sudo chmod 711 /opt | ||
- | sudo chmod 711 /proc | + | #sudo chmod 711 /proc |
sudo chmod 711 /usr | sudo chmod 711 /usr | ||
sudo chmod 711 /usr/local | sudo chmod 711 /usr/local | ||
줄 29: | 줄 34: | ||
| | ||
+ | 문제점은 이렇게 설정한 유저는 ssh 에 접속이 안된다. | ||
==== 방법==== | ==== 방법==== | ||
줄 92: | 줄 98: | ||
7) Test the SFTP-Server function from the windows client use the “WinSCP” or “Filezilla” | 7) Test the SFTP-Server function from the windows client use the “WinSCP” or “Filezilla” | ||
+ | |||
+ | * [[http:// | ||
+ | 상위폴더 접근 제한하기]] | ||
* [[http:// | * [[http:// | ||
* [[http:// | * [[http:// |