15.4 Xshell using XFTP to transfer files
- Download xftp software
- Installing XFTP Software
- Connecting to an FTP server
- Just start running and shut down the XFTP software.
- You need to log in to Xshell 5 first.
- Turn on Ctrl + Alt + F key combinations to automatically correlate Xftp software.
15.5 using PURE-FTPD to build FTP service
In the construction of FTP services, the use of PURE-FTPD construction is relatively light and simple.
[[email protected] ~]# yum install -y pure-ftpd
- Modifying a configuration file
[[email protected] ~]# vim /etc/pure-ftpd/pure-ftpd.conf#找到pureftpd.pdb这行,把行首的#删除
- Specifying a password file
#先停掉之前的vsftpd 服务,防止冲突[[email protected] ~]# systemctl stop vsftpd[[email protected] ~]# ps aux |grep vsftpdroot 1922 0.0 0.0 112676 984 pts/0 S+ 17:33 0:00 grep --color=auto vsftpd[[email protected] ~]# systemctl start pure-ftpd[[email protected] ~]# ps aux |grep pure-ftpdroot 1930 0.0 0.0 202480 1200 ? Ss 17:33 0:00 pure-ftpd (SERVER)root 1932 0.0 0.0 112676 980 pts/0 R+ 17:33 0:00 grep --color=auto pure-ftpd[[email protected] ~]# netstat -lntpActive Internet connections (only servers)Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 0.0.0.0:21 0.0.0.0:* LISTEN
#创建测试的目录[[email protected] ~]# mkdir /data/ftp#创建用户[[email protected] ~]# useradd -u 1020 pure-ftp#修改一下目录的权限[[email protected] ~]# chown -R pure-ftp:pure-ftp /data/ftp#用pure-pw 创建用户[[email protected] ~]# pure-pw useradd ftp_usera -u pure-ftp -d /data/ftp Password: #设置密码Enter it again: # -u 指定系统的用户# -d 指定家目录#pure-pw --help 查看所有的选项#pure-pw mkdb 生成pure-ftpd所识别的文件[[email protected] ~]# pure-pw mkdb#登录[[email protected] ~]# lftp [email protected]口令: lftp [email protected]:~> quit [[email protected] ~]# lftp [email protected]口令: lftp [email protected]:~> ls drwxr-xr-x 2 1020 pure-ftp 21 Jan 18 17:47 .drwxr-xr-x 2 1020 pure-ftp 21 Jan 18 17:47 ..-rw-r--r-- 1 0 0 0 Jan 18 17:47 123.txt
Xshell using XFTP to transfer files, using PURE-FTPD to build FTP services