Compression of GoDaddy space files via SSH

Source: Internet
Author: User
Keywords SSH foreign space Godaddy

Intermediary transaction http://www.aliyun.com/zixun/aggregation/6858.html ">seo diagnose Taobao guest cloud host technology Hall

GoDaddy space I used for more than a year, on the function is quite good, but in the domestic access is not very stable, no way ah, in the domestic want to manage a Web site, or to be honest to the record to do! The domain name record is good, the spatial database is also ready, The next step is to move the database and file back to the country. This inside I encountered a problem, GoDaddy space can compress only 20M compressed package, but my several sites, each site data in nearly 100M, how to do? After the various technical forums, found that netizens mentioned a dongdong--ssh! after some twists and turns, To move the site back through this contraption. Share the following:

First, find out what SSH is:

SSH is an abbreviation for Secure Shell, developed by the IETF Network Working Group (receptacle sharable Group); SSH is a security protocol based on the application layer and the transport layer. SSH is currently a more reliable protocol for providing security for Telnet sessions and other network services. The SSH protocol can effectively prevent the information leakage problem in the process of remote management. S h was originally a program on the U N I x System, and then quickly expanded to other operating platforms. s S h can make up for the vulnerabilities in the network when it is used correctly. S h client is suitable for a variety of platforms. Almost all U N I x platforms-including H P–u x, L I N U x, a I X, S o L a R i s, Digital UNIX, I r i x, and other platforms-can run S H.

Traditional network service programs, such as FTP, pop, and telnet are inherently unsafe because they transmit passwords and data in clear text on the network, and it is easy for people with ulterior motives to intercept passwords and data. Also, the security authentication methods of these services have their weaknesses, and are vulnerable to the "middleman" (man-in-the) approach. The so-called "middleman" mode of attack, is the "middleman" impersonating a real server to receive your data to the server, and then impersonate you to the data to the real server. The data transfer between the server and you has been tampered with by the middleman, and there will be serious problems. By using SSH, you can encrypt all transmitted data so that the man-in-the-middle attack is not possible and can prevent DNS spoofing and IP spoofing. An additional benefit of using SSH is that the data being transferred is compressed, so the speed of transmission can be speeded up. SSH has many functions, which can replace Telnet, and can provide a secure "channel" for FTP, PoP, and even PPP.

When using SSH, most of them have to go through a variety of settings, for me, these things are too troublesome, and then continue to linger in the forum, found that a netizen introduced a software--ssh Secure Shell Client

The software is downloaded, installed, and ready to use. So I'll share the steps:

1, Login GoDaddy Control Panel opened SSH: have used GoDaddy space people know how to play, here is not much to say, but to pay attention to, when the opening is through the voice of the form of reading to inform the opening of the verification code, and the reported reading is English, English listening to a certain foundation of people can understand, is 0-9 English; In addition, when filling in the phone number, Country code: Inside Write 86 (China's area code), in Phone number: write mobile phone numbers, cell phone number before remember to add a 0, such as 013800000000. After submitting, I waited for the system to call.

2, start the installation of a good SSH Secure Shell Client, the interface as shown:

  

 

Click "Quick Connect", as shown in figure:

  

 

Enter the IP address of the host in "Host Name"; User name "Enter the FTP username for the master account; The port, that is," port "defaults to 22, this place does not have to change; Authentication "This place chooses" the Password ", is uses the password to log in. Next click "Connect" to connect.

After the connection, will pop up a password box, request to enter the password, this place is to enter the main account FTP password. After the end will pop a dongdong, that I do not know what, regardless of it on the line, a few seconds will automatically disappear. At this point, the following main window is ready to use Code mode for command operations.

First, the implementation of a "LS" to see what the host directory, GoDaddy hosts generally have 4 directories, in addition to "HTML" This directory accident, the other do not care about it.

Enter "CD HTML" into the HTML directory (the basic command and DOS similar), enter later, can also enter "LS" to see what the "HTML" contents of the directory.

This time has been able to compress the file inside, commands all kinds: TAR-CZVF target compressed package filename directory name. For example, I would like to compress the HTML directory under the cngary of the contents of this folder, you can enter: TAR-CZVF cngary.tar.gz cngary (Note: cngary.tar.gz This is the name of the compressed package, as to why there is *. tar.gz these two suffixes, unknown, I did not go to research, just want to download the file as soon as possible ...

This can, through FTP login, you can "cngary.tar.gz" this compression package download down. Local decompression, you can see the "Cngary" in this folder all the files. Next is to upload to the domestic space, and then modify the configuration file, restore the database (another day to write blog I move the database a little bit of experience) completed the site's transfer of the whole process.

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.