SSH commands .tar.gz

software development

#1

So I’ve transferred over my cpanel backup from hostgator to my new dreamhost shared account but I am having a problem unzipping it.

It’s called hbackup.tar.gz

I manage to log into my Mac OSX terminal just fine and I get the Welcome to russell.dreamhost.com writing but when I run the following:

tar -zxvf hbackup.tar.gz the connection to russell.dreamhost.com closes automatically.

Am I doing something wrong or am I not allowed to perform these commands on a shared server?


#2

I used separate commands:

gunzip hbackup.tar.gz then

tar -xvf hbackup.tar and that did the trick!