In Linux, you can use ssh to transfer files to the FPT space and back up some important data. How do you implement file transfer? Xiaobian gives you a detailed introduction to how Linux uses ssh to transfer files to FTP space.
Step:
is assumed to be backed up to the directory /home /wwwroot /aaa /, IP remote FTP space is 55.44.33.22
1. into /home/wwwroot/directory
cd /home/wwwroot
2. Then compress the aaa directory to the tar.gz package aaa.tar.gz
tar cfz aaa .tar.gz aaa
3.Link FTP
ftp 55.44.33.22
Enter, then enter the FTP username, press Enter, enter the FTP password, after the link is successful , should see ftp"
4. Upload just aaa.tar.gz
put aaa.tar.gz
until the feedback says success.
Note: If you use the ftp command to prompt the command does not exist
centOS can directly execute the following command, the installation of ftp service is generally OK:
yum install ftp
Through the introduction of this article, you must have already understood how to use ssh to transfer files to the FPT space. A total of four steps are required. Backing up important files is as simple as that.
In Linux system operation, sometimes you need to check the usage of cpu, which requires the use of L
We all know how to delete system files under Linux, but sometimes it is not complete, how to complet
As a computer system, its desktop design is very important. Although the Linux desk
The Linux pwd command is mainly used to print the working path of the current working directory. If
How Linux limits user login failures through PAM
Linux backup method through shell script
Usage of the Linux tail command
Linux system settings DB2 and other services boot process
How to view information about Linux loading built-in modules
How to solve the problem of cant find libjava.so under Ubuntu?
How to solve the shell script stop execution when the Linux system is scheduled?
How to install and use Vsftp in Centos system
CentOS uses the split command to split the file instance
Amazon Amazon AWS Access Key Creation Tutorial
Set Win8 to display the delete confirmation dialog box
Win8 Ultimate system to switch to various display modes
The meaning and solution of error code 651
How to use NTP server under Linux system?
Safe browsing + Win7 compatible Maxthon 2.5.10 official version
Vista Enables Advanced Performance Options to Improve SATA Hard Drive Performance
Win7 system Excel insert hyperlink appears "Because the local limit" solution
Win10 cortana Microsoft Xiaona open method