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

Source: Internet
Author: User

Xshell Transferring files using xftp

1. Exit the current session in Xshell using the key combination: Ctrl+alt+f, the following appears:

650) this.width=650; "Src=" Https://s3.51cto.com/oss/201711/20/5d402de965f507d85c9ed8d66e662144.png-wh_500x0-wm_3 -wmp_4-s_533607507.png "title=" 1.png "alt=" 5d402de965f507d85c9ed8d66e662144.png-wh_ "/>


2, download xftp completed and then press ctrl+alt+f, you can download and upload files


Using PURE-FTPD to build an FTP service

1, [[email protected] ~]# Yum install-y pure-ftpd

2, vim/etc/pure-ftpd/pure-ftpd.conf

Puredb/etc/pure-ftpd/pureftpd.pdb
3.

[Email protected] ~]# Systemctl stop vsftpd

[Email protected] ~]# systemctl start pure-ftpd

[Email protected] ~]# netstat-nutlp| grep 21

TCP 0 0 0.0.0.0:21 0.0.0.0:* LISTEN 15034/pure-ftpd (SE

TCP6 0 0::: +:::* LISTEN 15034/pure-ftpd (SE

4, [[email protected] ~]# mkdir/data/ftp

You have new mail in/var/spool/mail/root

[Email protected] ~]# useradd-u 1010 PURE-FTP

[Email protected] ~]# chown-r pure-ftp:pure-ftp/data/ftp

5. Create virtual user Ftp_usera specify user as Pure-ftp

[Email protected] ~]# PURE-PW useradd ftp_usera-u pure-ftp-d/data/ftp

Password:

Enter It again:

6.

[Email protected] ~]# PURE-PW mkdb #必须执行这步, building data

[Email protected] ~]# Touch/data/ftp/123.txt


Verify:

Upload (Put), download (GET)

[Email protected] ~]# lftp [email protected]

Password:

lftp [email protected]:~> ls

Drwxr-xr-x 2 1010 pure-ftp 20 11:29.

Drwxr-xr-x 2 1010 pure-ftp 20 11:29..

-rw-r--r--1 0 0 0 Nov 11:29 123.txt

lftp [Email protected]:/> put/etc/passwd

1501 bytes Transferred

lftp [email protected]:/> ls

Drwxr-xr-x 2 1010 pure-ftp 20 11:33.

Drwxr-xr-x 2 1010 pure-ftp 20 11:33..

-rw-r--r--1 1010 pure-ftp 6923 Nov 11:32 1.png

-rw-r--r--1 0 0 0 Nov 11:29 123.txt

-rw-r--r--1 1010 pure-ftp 1501 Nov 11:28 passwd

lftp [email protected]:/> get passwd

1501 bytes Transferred


This article is from the "Discover new things" blog, make sure to keep this source http://jacksoner.blog.51cto.com/5802843/1983435

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.