Articles of vsftpd

vsftplogin错误530login不正确

在aws ec2实例上使用Ubuntu 10.04。 我很高兴只是使用SSH,但然后一个WordPress插件需要FTP访问…我只需要一个网站www.sitebuilt.net在/ home / sitebuil的FTP访问。 我安装了一个vftpd和pam,并且遵循了使我处于以下状态的build议 /etc/vftpd.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 xferlog_file=/var/log/vsftpd.log secure_chroot_dir=/var/run/vsftpd/empty pam_service_name=vsftpd rsa_cert_file=/etc/ssl/private/vsftpd.pem guest_enable=YES user_sub_token=$USER local_root=/home/$USER chroot_local_user=YES hide_ids=YES check_shell=NO userlist_file=/etc/vsftpd_users /etc/pam.d/vsftpd # Standard behaviour for ftpd(8). auth required pam_listfile.so item=user sense=deny file=/etc/ftpusers onerr=succeed # Note: vsftpd handles anonymous logins on its own. Do not enable pam_ftp.so. # […]

布尔型ftp_home_dir未定义 – RHEL7.3

我正在尝试在RHEL 7.3上configurationvsftpd 3.0.2。 我试图设置我的setsebool -P ftp_home_dir=1以使用户能够访问他们的主目录。 但是我收到: Boolean ftp_home_dir is not defined 这在查看semanage boolean -l时被确认semanage boolean -l没有ftp_home_dir 。 第14,15和16 vsftpd.conf检查这个布尔值。 # Uncomment this to allow local users to log in. # When SELinux is enforcing check for SE bool ftp_home_dir local_enable=YES /data/ftp/pub/some-dir/ftpuser1…etc [root@xxxxx ftp]# ls -lZ drwxr-xr-x. root root unconfined_u:object_r:etc_runtime_t:s0 pub 我可以相信,在解决这个问题的时候,它也会解决我的问题,这是一个完全不同的问题。 提前致谢! 信息: Red […]

VSFTPconfiguration将用户发送到特定的文件夹

我在一个盒子里有大约30个用户。 这些用户是在重叠组(约6-10组)。 当他们进入FTP时,我需要他们能够根据他们的组分配登陆一个特定的文件夹。 即,group1 – > / tmp / site1 group2 – > / tmp / site2 这是所有可能的VSFTP在SuSE盒? 不幸的是,使用SFTP不是一个选项。 谢谢! 编辑:如果用户在几个组中,只是将其转储到最高级别的文件夹,以查看他们有权访问的各种文件夹。

configurationvsftpd匿名上传。 创build文件,但冻结在0字节

sudo apt-get install vsftpd之后,在Ubuntu上执行vsftpd然后在附件/etc/vsftpd.conf文件中进行configuration。 匿名ftp允许cd直接上传,并允许把在服务器上创build的myfile.txt,但然后客户端挂起,永远不会继续。 服务器上的文件保持在0字节。 这是文件夹和权限: root@support:/home/ftp# ls -ld . drwxr-xr-x 3 root root 4096 Jun 22 00:00 . root@support:/home/ftp# ls -ld pub drwxr-xr-x 3 root root 4096 Jun 21 23:59 pub root@support:/home/ftp# ls -ld pub/upload drwxr-xr-x 2 ftp ftp 4096 Jun 22 00:06 pub/upload root@support:/home/ftp# 这里是vsftpd.conf文件: root@support:/home/ftp# grep -v '#' /etc/vsftpd.conf listen=YES anonymous_enable=YES […]

挂在“150”的FTP这里是目录列表。

我有一个CentOS服务器运行VSFTPD,所以我可以上传文件到我的网站。 当我连接到FTP时,它会列出根目录中的文件夹,我可以打开除了名为“公共”的文件夹之外的所有文件夹,这只会导致FileZilla挂起“150这里是目录列表。 朋友可以连接到服务器,并访问文件夹就好了。 另外当我访问我提到的其他文件夹时,当我尝试下载文件在那里,它只是挂起传输。 我在vsftpd.conf中设置了被动模式,并打开如下所示的端口: pasv_enable=Yes pasv_max_port=12100 pasv_min_port=12000 pasv_address=<IP ADDRESS> 的IPtables: -I INPUT -p tcp –destination-port 12000:12100 -j ACCEPT 我可以连接到其他FTP服务器和传输文件就好了,但我自己的服务器似乎有什么问题。 我也testing了多个FTP帐户。

Filezilla客户端和VSFTPD:GnuTLS错误-12:已收到TLS致命警报

所以现在我试图为FTP(e)Sconfigurationvsftpd服务器。 看来我遇到了不同客户的问题。 Secure FTPD对我来说工作正常。 不是Filezilla。 来自Filezilla的输出 tatus: Connecting to foo:21… Status: Connection established, waiting for welcome message… Trace: CFtpControlSocket::OnReceive() Response: 220 "Welcome to FTP!" Trace: CFtpControlSocket::SendNextCommand() Command: AUTH TLS Trace: CFtpControlSocket::OnReceive() Response: 234 Proceed with negotiation. Status: Initializing TLS… Trace: CTlsSocket::Handshake() Trace: CTlsSocket::ContinueHandshake() Trace: CTlsSocket::OnSend() Trace: CTlsSocket::OnRead() Trace: CTlsSocket::ContinueHandshake() Trace: CTlsSocket::Failure(-12, 53) Trace: GnuTLS alert […]

vsftpd与pam_winbind.so

我试图设置vsftpd使用我们的域login。 我希望ftp用户能够使用他们的活动目录用户名/密码login,并且能够完全访问/ media / storage / ftp / username。 我使用winbind安装pptp并且工作正常,所以我相信这个问题是vsftpd和pam。 ftp服务器运行并为login提供530。 我打开了对pam模块的debugging,但在syslog中什么也看不到。 Vsftp只在其日志中logging错误的login信息。 /etc/pam.d/vsftpd auth required pam_winbind.so debug /etc/vsftpd.conf文件 listen=YES listen_ipv6=NO connect_from_port_20=YES anonymous_enable=NO local_enable=YES write_enable=YES xferlog_enable=YES idle_session_timeout=600 data_connection_timeout=120 nopriv_user=ftp ftpd_banner=Welcome to Scantiva! Authorized access only! local_umask=022 local_root=/media/storage/ftp/$USER user_sub_token=$USER chroot_local_user=YES secure_chroot_dir=/var/run/vsftpd/empty pam_service_name=vsftpd guest_enable=YES guest_username=ftp ssl_enable=YES allow_anon_ssl=NO force_local_data_ssl=NO force_local_logins_ssl=NO ssl_tlsv1=YES ssl_sslv2=YES ssl_sslv3=YES rsa_cert_file=/etc/ssl/private/vsftpd.pem

VSFTPD – 通过TLS的FTP – 上传停止后正好82K?

我在CentOS服务器上安装了VSFTP守护进程,使用RSA证书使用显式TLSlogin。 现在,我不能上传超过82K。 有了这个限制的文件,没有问题。 FTP就像一个魅力。 但是,一旦文件达到82k与FileZilla(准确的81,952字节),传输将停止,FTP客户端挂起,直到超时。 FTP客户端控制台: 15:10:21 Command: STOR jquery-1.7.2.min.js 15:10:21 Response: 150 Ok to send data. 15:11:21 Error: Connection timed out 15:11:21 Error: File transfer failed after transferring 82 KB in 60 seconds /var/log/vsftpd.log FTP command: Client "xxxx", "STOR jquery-1.7.2.min.js" FTP response: Client "xxxx", "150 Ok to send data." OK UPLOAD: Client "xxxx", "jquery-1.7.2.min.js", […]

无法使用vsftpdlogin到Debian上的FTP

我试图设置FTP访问我的Apache服务器,但我收到530 Login Incorrect错误。 我通过sudo apt-get install vsftpd安装了vsftp软件包。 我已经尝试用我创build的用户连接到ftp://(my ip address) , andrew ,他是ftp用户组的成员。 我也试着用root连接。 我确定密码是正确的。 理想情况下,我希望能够连接到我的/var/www/目录通过FTP客户端上传文件。 这是我的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 chroot_local_user=YES secure_chroot_dir=/var/run/vsftpd/empty pam_service_name=vsftpd rsa_cert_file=/etc/ssl/private/vsftpd.pem 并与评论: # Example config file /etc/vsftpd.conf # # The default compiled in settings are fairly paranoid. This sample file # loosens things up a bit, to […]

vsftp:为什么是allow_writeable_chroot = YES是个好主意?

有几千篇关于vsftp的博客文章, allow_writeable_chroot=YES 常见错误信息: 修复500 OOPS:vsftpd:拒绝以chroot()内的可写根目录运行 我解决了我的服务器上的问题。 但是还有一个问题: 为什么build议使用allow_writeable_chroot=NO ? 到目前为止,我只是发现了一些模糊的论点,比如“出于安全原因”。 这些“安全原因”是什么?