Articles of vsftpd

FTP问题 – VSFTPd和从FileZilla连接

我试图连接到我在EC2上托pipe的CentOS Linux框,我想我已经正确configuration了所有东西,但是当我尝试连接时,我得到了这一系列消息 Status: Connection established, waiting for welcome message… Response: 220 (vsFTPd 2.0.5) Command: USER tyndall Response: 331 Please specify the password. Command: PASS ********* Response: 230 Login successful. Status: Connected Status: Retrieving directory listing… Command: PWD Response: 257 "/home/tyndall" Command: TYPE I Response: 200 Switching to Binary mode. Command: PASV Error: Connection timed out […]

vsftpdlogin信息问题

服务器是Ubuntu的16.04。 我可以如下loginvsftpd: ftp> open MY_FTP_IP Connected to MY_FTP_IP. 220 (vsFTPd 3.0.3) Name (MY_FTP_IP:ACCOUNT_NAME): someftpuser 问题是ACCOUNT_NAME是我的sudoers的名字,我不希望ftp用户看到它。 如何更改或移除ACCOUNT_NAME ?

设置VSFTP上传文件权限

每当我上传一个文件到我的FTP服务器运行VSFTP,它的文件权限默认为600( rw——- )。 我如何将其更改为775( rwxr-xr-x )?

vsFTPd和iptables – 如何在CentOS 5.5中configuration它们?

我已经在两台服务器上安装了CentOS 5.5中的vsFTPd,并将这个规则添加到他们的iptables : -A RH-Firewall-1-INPUT -m state –state NEW -m tcp -p tcp –dport 21 -j ACCEPT 看起来这是不够的,因为当我试图从一个服务器上传文件到另一个,我得到这个结果(IP地址被掩盖): # ftp 99.99.99.99 Connected to 99.99.99.99 (99.99.99.99). 220 (vsFTPd 2.0.5) Name (99.99.99.99:root): vinny 331 Please specify the password. Password: 230 Login successful. Remote system type is UNIX. Using binary mode to transfer files. ftp> ls 227 Entering […]

500 OOPS:vsftpd:拒绝用chroot()里的可写根目录运行在debian上login失败

我在debian 7.3上安装vsftpd来运行FTP服务器。 我检查vsftpd版本是2.3.5 ,我configuration它像这样: listen=YES local_enable=YES write_enable=YES chroot_local_user=YES pasv_min_port=15000 pasv_max_port=15200 allow_writeable_chroot=YES 我遵循这个文章来解决这个问题: http://blog.waja.info/2013/05/13/500-oops-vsftpd-refusing-to-run-with-writable-root-inside-chroot/ http://www.mikestechblog.com/joomla/operating-systems-section/operating-systems-ubuntu/155-500-oops-vsftpd-refusing-to-run-with-writable-root-inside-chroot.html 和谷歌和论坛上的其他许多人。 但是我的问题没有解决。 注意:我已经在Ubuntu 12.04上解决了这个问题,但是这个解决scheme在Debian 7.3上不起作用。 我真的搞混了吗?

VSFTPD – 更改用户主目录

我需要更新一个ftp用户的主目录。 我可以运行userdel命令,然后重新添加用户而不会丢失用户所连接的目录吗? 还是有另一种方式来更改用户的目录? 我没有使用chroot_list … 谢谢。

vsftpd:限制连接到一组IP地址

是否有可能将vsftpd设置为只接受来自某组IP地址的连接? 我已经看过/etc/vsftpd.conf中的选项,但是没有提示。 手册也没有。 我的服务器操作系统:红帽企业Linux服务器版本6.5(圣地亚哥)

500 OOPS:SSL:无法加载RSA私钥vsftpd

我在debian 7.3上configurationvsfptd,我试图使用ssl。 我使用这个命令生成certficates: openssl req -x509 -nodes -days 1925 -newkey rsa:2048 -keyout /etc/vsftpd/private/vsftpd2.key -out /etc/vsftpd/certificado/vsfptd3.pem 而我的vsftpd.conf是这样的: listen=YES anonymous_enable=YES local_enable=YES write_enable=YES #anon_upload_enable=YES anon_mkdir_write_enable=YES dirmessage_enable=YES use_localtime=YES xferlog_enable=YES connect_from_port_20=NO #chown_uploads=YES #chown_username=whoever # chroot_local_user=YES chroot_local_user=YES chroot_list_enable=YES chroot_list_file=/etc/vsftpd.chroot_list secure_chroot_dir=/var/run/vsftpd/empty pam_service_name=ftp-ssl rsa_cert_file=/etc/vsftpd/certificado/vsftpd.pem rsa_private_key_file=/etc/vsftpd/private/vsftpd2.key anon_root=/srv/ftp/anonimo chown_upload_mode=757 anon_upload_enable=YES ssl_enable=YES allow_anon_ssl=NO force_local_data_ssl=YES force_local_logins_ssl=YES ssl_tlsv1=YES ssl_sslv2=NO ssl_sslv3=NO listen_port=990 ssl_ciphers=HIGH require_ssl_reuse=NO 但每次我尝试启动vsftpd我得到这个错误消息: 500 OOPS:SSL:无法加载RSA私钥 我已经检查了权限configuration良好,我不知道如何解决这个问题。 请帮忙吗?

VsFTPd – LDAP – PAM

我正在尝试configurationVsFTPd服务器以再次validationLDAP服务器。 这可能很简单,但是由于这是我第一次使用LDAP和PAM,所以我遇到了一些困难。 VsFTPd在Ubuntu Server 11.04上运行,LDAP在10.10 Ubuntu服务器上是OpenLDAP。 第一个我禁用了AppArmor。 VsFTPd无法连接到LDAP服务器,在我的系统日志中我有: vsftpd: pam_ldap: ldap_simple_bind Can't contact LDAP server LDAP服务器是可以的,因为我可以做一个ldapsearch 。 这是我的/etc/pam.d/vsftpd文件: auth required pam_listfile.so item=user sense=deny file=/etc/ftpusers onerr=succeed @include common-account @include common-session @include common-auth auth required pam_ldap.so account required pam_ldap.so session required pam_ldap.so password required pam_ldap.so 这里是我的/etc/ldap.conf文件: base dc=example,dc=com uri ldapi:///ldap.example.com ldap_version 3 rootbinddn cn=admin,dc=example,dc=com pam_password md5 nss_initgroups_ignoreusers […]

允许匿名上传Vsftpd?

我需要Linux上的基本FTP服务器(CentOS 5.5),没有任何安全措施,因为服务器和客户端位于testing局域网上,没有连接到networking的其余部分,而networking本身使用NAT防火墙后面的非路由IP没有传入访问FTP。 有些人推荐使用PureFTPd或ProFTPd的 Vsftpd 。 无论我尝试什么,我都无法让一个匿名用户(即以“ftp”或“匿名”身份login并input任何string作为密码)上传文件: # yum install vsftpd # mkdir /var/ftp/pub/upload # cat vsftpd.conf listen=YES anonymous_enable=YES local_enable=YES write_enable=YES xferlog_file=YES #anonymous users are restricted (chrooted) to anon_root #directory was created by root, hence owned by root.root anon_root=/var/ftp/pub/incoming anon_upload_enable=YES anon_mkdir_write_enable=YES #chroot_local_user=NO #chroot_list_enable=YES #chroot_list_file=/etc/vsftpd.chroot_list chown_uploads=YES 当我从客户端login时,下面是我得到的: 500 OOPS:无法更改目录:/ var / ftp / pub / incoming 我也试过“#chmod […]