Unzip files to WordPress with SSH


When you do not have access to a file manager, it is necessary to be able to unzip files from SSH.

Warning: The information in this article is advanced material we make available as a courtesy. Please be advised that you are responsible for properly following the procedures below. Customer Support can't assist with these topics.

  1. Connect to your hosting with FTP.
  2. Upload your .tar.gz file or .zip.
  3. Enable SSH on your hosting account. (How?).
  4. Connect to your package with SSH
  5. Navigate to the directory containing the zipped file.
  6. Use one of the following commands depending if you uploaded a .tar.gz or a .zip file

    Update the the command(s) as follows:

    tar -xvzf source.tar.gz -C destination/
    unzip source.zip -d destination/


Article ID: 1256
Created On: Tue, Nov 17, 2020 at 7:51 PM
Last Updated On: Wed, Nov 18, 2020 at 10:04 PM

Online URL: https://www.heartinternet.uk/support/article/unzip-files-to-wordpress-with-ssh.html