Linux VPS leverages SFTP management to transfer and manage Web site and system files methods

Source: Internet
Author: User
Tags vps vps server
Generally speaking, we choose and use VPS to build stations or other projects, are the majority of our own use. So in the management of Web site files and modify the server configuration file, there is no need to set up a separate FTP account, a more troublesome, and the account set too much is not safe. Therefore, if we independently manage the VPS server, we can use SFTP transmission mode absolute rights to manage the Web site and system files.

Our commonly used FTP tools have SFTP functions, such as we may commonly used WINSCP, FlashFXP, but Chiang also saw a friend in the use of FlashFXP tools without SFTP transmission, I have in the use of the local. The only thing we need to be aware of when using the SFTP transfer function is not to delete and edit the files that are unfamiliar to you, even if you want to edit them locally or copy them, so that you can recover the error.

First, the use of SFTP transmission tools

1, WinSCP

The above is the WINSCP tool, you can choose FTP, SFTP, SCP, WebDAV 4 kinds of models, generally we will use the first two kinds more. This tool is also relatively clean and the speed is good.

2, FlashFXP

Similarly, in the FlashFXP tool, the site can be added to see the SFTP transfer mode. The account is filled in with our VPS server root account, if there are modified ports we need to modify the default 22 to a custom port.

Second, the SFTP website file management

The first time we log in is in the root directory, not see any files required by the site files, many people get into here and lost, did not see their own site files where. This is not urgent, we click on the arrow pointing above, be sure to double-click.

Then, depending on the specific relationship we have to install the site, such as the Lnmp script for my environment here, the default site directory is in the home folder and we need to double-click it.

Then into the Wwwroot directory, you can see our site domain name identification directory, this is the site that we added the directory. We need to edit the website files right here.

Third, SFTP transmission mode Management Summary

1, if we personally manage VPS, servers, there is no need to create an FTP account to manage, you can use SFTP transmission mode.

2, we use the SFTP transmission way to manage the website and the system file, must be absolutely cautious each file edits and replaces. Because we have absolute permissions, the replacement error can cause the system to crash. So when editing an indeterminate file, it's best to copy a source file
Related Article

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.