云服务器上内网访问,可以查看FTP文件信息
QQ截图20180331104120.jpg
外网访问window7旗舰版
20180331104052.png
后面因为,觉得是21号端口问题,也打开了21号端口和暴露安全组去尝试能否放外部访问。
但均失败了。安全组用了ALL
# Example config file /etc/vsftpd.conf
#
# Run standalone with IPv6?
# Like the listen parameter, except vsftpd will listen on an IPv6 socket
# instead of an IPv
我已经在我的CentOS 5.4上通过yum install ftp和yum install vsftpd安装了ftp和vsftpd。我还使用adduser ftpuser命令创建了一个ftp用户。
我的问题来了。
[root@localhost ~]# ftp localhost
Connected to localhost.localdomain.
220 (vsFTPd 2.0.5)
530 Please login with USER and PASS.
530 Please login with USER and PASS.
KERBEROS_V4 rejected as an au
我在我的arch桌面上启动了一个vsftpd服务器,然后尝试使用我的普通用户登录到它。但是,当我尝试登录时,我会得到"530登录错误“:
$ systemctl start vsftpd
$ groups
wheel tom
$ hostname
desktop
$ ftp desktop
Connected to desktop.localdomain.
220 Just to make extra sure the server is configured by this file.
Name (desktop:tom):
331 Please specify the pas
STATUS:> Session started...
STATUS:> Connecting to the server for transfer...
220 (vsFTPd 3.0.2)
STATUS:> Authenticating for 'sioeye1'...
COMMAND:> USER sioeye1
331 Please specify the password.
COMMAND:> PASS ****
530 Login incorrect.
ERROR:> Authentication failed.
ST
我把vsftpd设置在7点上。有简单的和直接的教程。但是,不仅从服务器外部,甚至从localhost,我无法通过ftp登录。
[root@localhost ~]# cat /etc/vsftpd/ftpusers
# Users that are not allowed to login via ftp
root
mahmood
bin
daemon
adm
lp
sync
shutdown
halt
mail
news
uucp
operator
games
nobody
[root@localhost ~]# ftp mahmood@localhost
ftp: mahmood@loca
我希望在ubuntu14.04服务器上安装vsftpd,并通过apache访问这些文件。遵循,这是我的vsftpd.conf:
# Example config file /etc/vsftpd.conf
#
# The default compiled in settings are fairly paranoid. This sample file
# loosens things up a bit, to make the ftp daemon more usable.
# Please see vsftpd.conf.5 for all compiled in defaults.
#