CentOS 5.1사용중이구요
FTP 버젼은 proftpd-1.3.0a 이구요
그런데 알ftp사용시 포트"21" 프로토콜 "ftp "로 하면은 사용자 디렉토리이상은 올라가지 못하는데 포트"22 "프로토콜 "자동" 으로 하면은
/ 밑에 모든파일을 볼 수 있어 버리네요 어떻게해야되지요 부탁드립니다
물론 ssh로 리모트접속을 하고 있습니다.
/usr/local/proftpd/etc/proftpd.conf 파일의 일부입니다.
StartFragment ServerName"ProFTPD Default Installation"
ServerTypestandalone
DefaultServeron
# Port 21 is the standard FTP port.
Port21
# Umask 022 is a good standard umask to prevent new dirs and files
# from being group and world writable.
Umask022
# To prevent DoS attacks, set the maximum number of child processes
# to 30. If you need to allow more than 30 concurrent connections
# at once, simply increase this value. Note that this ONLY works
# in standalone mode, in inetd mode you should use an inetd server
# that allows you to limit maximum number of processes per service
# (such as xinetd).
MaxInstances30
# Set the user and group under which the server will run.
Usernobody
Groupnobody
# To cause every FTP user to be "jailed" (chrooted) into their home
# directory, uncomment this line.
DefaultRoot ~
그런데 알ftp사용시 포트"21" 프로토콜 "ftp "로 하면은 사용자 디렉토리이상은 올라가지 못하는데 포트"22 "프로토콜 "자동" 으로 하면은
/ 밑에 모든파일을 볼 수 있어 버리네요 어떻게해야되지요 부탁드립니다
물론 ssh로 리모트접속을 하고 있습니다.
눈팅만으로는 답변글을 볼 수 없습니다. 로그인하셔야 합니다.