我在redhat5.3上配置了一個VSFTPD,但是用另一個網段的伺服器來訪問的時候卻不能進行LS或者上傳文件: [statdb@/gboss/mddms/interface/shell]ftp 172.19.108.17 Connected to 172.19.108.17. 220 (vsFTPd 2.0.5) Name (172.19.108.17:mddms): tcftp 331 Please specify the password. Password: 230 Login successful. Remote system type is UNIX. Using binary mode to transfer files. ftp> pwd 257 "/home/tcftp" ftp> ls 200 PORT command successful. Consider using PASV. 無響應,按下ctrl-c后: 421 Service not available, remote server has closed connection No control connection for command: Interrupted system call
使用passive命令后: Remote system type is UNIX. Using binary mode to transfer files. ftp> pwd 257 "/home/tcftp" ftp> passive Passive mode on. ftp> ls 227 Entering Passive Mode (192,168,25,11,165,209) 無響應,按下ctrl-c后: 227 Entering Passive Mode (192,168,25,11,155,231)