This article is a mirror article of machine translation, please click here to jump to the original article.

View: 59264|Reply: 3

[Source] The Linux server is set up with an SFTP service

[Copy link]
Posted on 2021-4-9 17:27:17 | | | |
SFTP is an abbreviation for Secure File Transfer Protocol. A secure encryption method can be provided for transferring files. SFTP has almost the same syntax and functionality as FTP. SFTP is part of SSH and has nothing to do with vsftpd, and is a secure way to transfer files to the blogger server. There is no daemon itself, it is included in ssh, and port 22 is also available.

SFTP uses encryption/decryption technology to ensure the security of transmitted files, so the transmission efficiency of SFTP is lower than that of ordinary FTP, but the security of SFTP is higher than FTP, so SFTP is usually used in scenarios with high security requirements such as reports and statements.

CentOS installs VSFTP service
https://www.itsvse.com/thread-3241-1-1.html

environment

I'm using CentOS Linux release 7.7.1908 (Core)

First, let's take a look at the renderings:


Under Windows, open the cmd command, which can be accessed by sftp username@ipConnected.


The tutorial is as follows

Create a sftpusers group

Create a /home/sftp directory

Set directory permissions

Add itsvse users and add them to the sftpusers group

Create and authorize itsvse to access the directory


SFTP Couldn't read packet: Connection reset by peer
https://www.itsvse.com/thread-9612-1-1.html


Note: The directory permissions set by ChrootDirectory and all the parent folder permissions, the principal and the subordinate group must be root (The tested user group can be non-root);

Only the owner can have write permissions for the directory permissions set by ChrootDirectory and all its parent folder permissions, which means that the maximum permission setting can only be 755


Modify the sshd_config file

Start by backing up the /etc/ssh/sshd_config file

The configuration is as follows:

Restart the sshd service

At this point, trying to log in to your ITSVSE account may not allow you to add new files and folders because you don't have permissions.

Create a public directory of itsvse and authorize it as follows:


Try again to create a folder and upload a file as shown below:



(End)




Previous:.NET/C# Empty the folder and delete all information
Next:Fudan University General Education Examination: Entrance Education and Standardized Education
 Landlord| Posted on 2021-7-19 20:50:02 |
Docker builds SFTP services
https://www.itsvse.com/thread-9994-1-1.html
Posted on 2021-10-19 10:55:13 |
Learn to learn...
 Landlord| Posted on 2025-3-14 08:54:18 |
SFTP Servers

This is a list of stand-alone SFTP servers. If you want to write an application that acts as a SFTP server, see the list of SFTP server components instead.

Minimalist SFTP servers

Good for quick & dirty testing. (Almost) no configuration. Easy to setup and run.

Name
Note
Free SFTP server from the authors of this site.
Note: search for 'free mini sftp server' download link.


Full-featured SFTP servers

Software for heavy-duty file transfer.

Name
Note
SFTP, SCP, SSH server for Windows from authors of this site. Free for non-commercial use.

The hyperlink login is visible.
SFTP/SSH server for Windows.

The hyperlink login is visible.
FTPS/SFTP/SCP/SSH server from EnterpiseDT
SSH and SFTP server for Windows based on OpenSSH and Cygwin with custom installer and admin UI

The hyperlink login is visible.
Secure MFT Server with clustering, PGP encryption and Active Directory
The simple cloud SFTP/FTP/Rsync server and API that works with cloud storage like Dropbox.
File transfer server with support for SFTP, SCP, FTPS and HTTPS.
Commercial version of open source FTP server added a SFTP protocol support. Windows only.

The hyperlink login is visible.
SSH and SFTP server for Windows

The hyperlink login is visible.
MFT server with SFTP support.
An open-source SFTP server that simplifies access to on-premise and cloud storage
MFT server with SFTP support written in Java.
SFTP server for Windows. Free for non-commercial use.
The most widely used SFTP/SSH server on the planet. Perfect for Linux or *BSD, not so great on Windows. Open source.
SFTP, SSH, PowerShell
A file server solution with SFTP support in some editions.
Also know as Solarwinds Serv-U MFT server.
Opensource SFTP server with several storage plugins for Linux, macOS and Windows written in Go.
MFT server with support for SFTP, SCP, FTPS and HTTPS on Windows, Linux & UNIX
SSH and SFTP server for Windows
SSH2, SFTP and FTPS server
Enterprise SFTP/SSH server from the creators of the SSH protocol.
SFTP, FTP/SSL and FTP server for Windows
SSH2/SFTP/FTPS file transfer server for Windows, Linux & Mac with fine-grain access control and configuration.

The hyperlink login is visible.
The hyperlink login is visible.
Windows FTP and SFTP Server
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com