Xshell using XFTP to transfer files, using PURE-FTPD to build FTP services

Source: Internet
Author: User

15.4 Xshell using XFTP to transfer files
    • Download xftp software
    • Installing XFTP Software
    • Connecting to an FTP server
      1. Just start running and shut down the XFTP software.
      2. You need to log in to Xshell 5 first.
      3. 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.

    • Installing PURE-FTPD
[[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      
    • Test
#创建测试的目录[[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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.