Articles of vsftpd

configurationvsftpd

我想在我的CentOS服务器上使用vsftpd来configurationFTP服务器。 我已经使用yum install vsftpd安装了FTP服务器,并遵循: http : //www.cyberciti.biz/tips/rhel-fedora-centos-vsftpd-installation.html来configuration服务器。 我创build了一个用户,但是当我尝试通过Filezilla连接时,我得到: Response: 331 Please specify the password. Command: PASS ********* Response: 500 OOPS: cannot change directory:/home/username Error: Critical error Error: Could not connect to server 看vsftpd日志我得到: Thu Sep 1 11:41:19 2011 [pid 8535] CONNECT:Client“xx.xxx.xxx.xxx”Thu Sep 1 11:41:19 2011 [pid 8534] [username] OK LOGIN:Client“xx.xxx。 xxx.xxx” 这似乎把我从服务器断开。 我也可以在Filezilla中通过SFTPlogin。 谢谢 更新: […]

VSFTPD说“500 OOPS:无法更改目录”

只要我用我的虚拟用户在FTPlogin我得到“不能更改directoy”,我在vsftpd.conf中有以下configuration。 请build议 listen=YES anonymous_enable=NO local_enable=YES write_enable=YES local_umask=002 dirmessage_enable=YES xferlog_enable=YES connect_from_port_20=YES chroot_local_user=YES secure_chroot_dir=/var/run/vsftpd pam_service_name=vsftpd virtual_use_local_privs=YES guest_enable=YES user_sub_token=$USER hide_ids=YES user_config_dir=/data/some-path/ftp/users local_root=/data/some-path/ftp/data/$USER guest_username=vsftpd

VSFTPD特定的密码

我正在寻找一种方法来定义Ubuntu服务器上VSFTPD的自定义encryption套件。 我发现我可以通过HIGH / MEDIUM / LOW指定密码。 但是,这对我来说还不够,因为我需要手动configuration密码。 有没有办法做到这一点?

即使使用正确的pasv_address,Vsftpd被动回复0,0,0,0地址

我在vsftpd中有以下configuration listen_ipv6=YES allow_writeable_chroot=YES seccomp_sandbox=NO pam_service_name=vsftpd userlist_enable=YES tcp_wrappers=YES pasv_enable=YES pasv_min_port=1024 pasv_max_port=1048 pasv_address=<Elastic ip from amazon aws ec2 instance> pasv_promiscuous=YES 但是,当试图使用FTP连接到服务器时,出现以下警告, Status: Retrieving directory listing… Command: PWD Response: 257 "/" Command: TYPE I Response: 200 Switching to Binary mode. Command: PASV Response: 227 Entering Passive Mode (0,0,0,0,4,1). Status: Server sent passive reply with unroutable address. Using server […]

什么SFTP服务器实现支持检查文件扩展名

我想通过使用Python中的paramiko.sftp_file.SFTPFile.check()来同步本地主机和远程服务器上的目录,通过SFTP计算远程服务器上的MD5校验和。 根据http://docs.paramiko.org/en/2.1/api/sftp.html和https://stackoverflow.com/questions/30056566/how-to-perform-checksums-during-a-sftp-file-数据传输完整性 ,大多数SFTP服务器实现(包括OpenSSH,我默认运行)不支持“校验文件”扩展。 我的提供商推荐vsftpd(请参阅https://security.appspot.com/vsftpd.html ),但其常见问题没有提到“check-file”扩展名。 任何人都可以告诉我,vsftpd是否支持这个function,否则推荐使用SSH / SFTP实现? 我试过谷歌search没有成功。 谢谢!

vsftpd错误:500 OOPS:vsf_sysutil_bind

我试图在Windows上使用Filezilla连接到一个运行vsftpd 2.3.5的linux ec2实例(也试过2.3.2,结果相同),但是服务器一直以500 OOPS:vsf_sysutil_bind作为响应,然后出现一个不同的次级错误在我是否使用主动或被动模式(见下面的日志)。 这个设置几天前工作正常。 据我所知,服务器的configuration没有任何改变,但现在连接后立即抛出。 我已经重新启动vsftpd,但还没有重新启动服务器本身。 什么可能导致这种行为,为什么会突然出现,我该如何解决? 如果我使用主动模式,客户端日志如下: … Response: 230 Login successful. Command: OPTS UTF8 ON Response: 200 Always in UTF8 mode. Status: Connected Status: Retrieving directory listing… Command: PWD Response: 257 "/" Command: TYPE I Response: 200 Switching to Binary mode. Command: PORT 192,168,1,101,250,178 Response: 200 PORT command successful. Consider using PASV. […]

vsftpd没有响应LIST

我已经将Ubuntu 10.04 Desktop作为Web服务器运行,并且已经安装了vsftpd并将其设置为允许ascii_upload_enable和ascii_download_enable,并启用了chroot_local_user,chroot_list_enable和chroot_list_file。 但是,我无法从服务器使用FileZilla获取文件列表,这是发生了什么事情: 状态:parsingserver.jonbevan.me.uk的地址 状态:连接到80.4.79.179:21 … 状态:build立连接,正在等待欢迎信息… 响应:220欢迎访问server.jonbevan.me.uk FTP服务。 命令:USER jon 回应:331请指定密码。 命令:PASS ********* 回应:230login成功。 命令:OPTS UTF8 ON 响应:200始终处于UTF8模式。 状态:已连接 状态:检索目录列表… 命令:CWD / home / jon 响应:250个目录成功更改。 命令:PWD 回应:257“/ home / jon” 命令:typesI 响应:200切换到二进制模式。 命令:PASV 回应:227进入被动模式(80,4,79,179,196,13) 命令:LIST 响应:425无法build立连接。 错误:无法检索目录列表 这发生在CuteFTP中: 命令:> [7/29/2010 3:23:43 PM] LIST [7/29/2010 3:23:43 PM] 150这里是目录列表。 错误:> [7/29/2010 3:24:13 PM]从服务器接受数据连接时发生超时(30000毫秒)。 [7/29/2010 […]

VsFTPd – pam_mkhomedir

我正在尝试build立一个FTP服务器,对LDAP服务器进行身份validation。 这部分完成并工作。 我的服务器是Ubuntu Server 11.04上的VsFTPd。 但是我必须为我的LDAP用户创build主目录。 我正在尝试使用pam_mkhomedir模块,但它不工作:当我将其行添加到/etc/pam.d/vsftpd文件时,我的用户无法再login到FTP服务器。 问题是,我很less有什么错误的信息。 VsFTPd只是响应530: login incorrect ,我找不到方法来从pam_mkhomedir得到debugging或错误消息。 这是我不同的configuration文件。 /etc/pam.d/vsftpd文件: auth required pam_listfile.so item=user sense=deny file=/etc/ftpusers onerr=succeed auth required pam_ldap.so account required pam_ldap.so password required pam_ldap.so session optional pam_mkhomedir.so skel=/home/skel debug /etc/vsftpd.conf文件: listen=YES anonymous_enable=NO local_enable=YES write_enable=YES dirmessage_enable=YES use_localtime=YES xferlog_enable=YES connect_from_port_20=YES pam_service_name=vsftpd rsa_cert_file=/etc/ssl/private/vsftpd.pem guest_enable=YES session_support=YES log_ftp_protocol=YES tcp_wrappers=YES /home和/home/skel上的权限: root@ftp:/home# ls -al total […]

Ubuntu vsftpd服务器错误:500 OOPS:无法读取chroot()列表文件:/etc/vsftpd.chroot_list

我使用vsftpd为Ubuntuconfiguration了一个FTP服务器。 但是,我无法访问服务器。 Status: Connecting to IP Status: Connection established, waiting for welcome message… Response: 220 (vsFTPd 2.3.2) Command: USER userhere Response: 331 Please specify the password. Command: PASS *************** Response: 500 OOPS: could not read chroot() list file:/etc/vsftpd.chroot_list Error: Critical error Error: Could not connect to server 编辑 问题解决了! 注释行chroot_list_enable=YES

允许本地用户访问vsftpd中的/ var / www文件夹

我已经成功安装了vsftpd。 它是活的,但我得到以下错误: Response: 500 OOPS: cannot change directory:/home/sovit 我想要做的是将系统的所有本地用户直接指向/var/www文件夹,而不是其根目录。 以下是vsftpd conf文件: http://pastie.org/2284176 任何帮助,将不胜感激。 谢谢。