Is there a way to gzip a directory on my server via SSH and then download it to my local machine via SSH?
You can use gzip command to compress the file in linux system, and yes you can download it directly to your local machine via SSH. Just open the new file transfer window from WINDOW option in SSH and select the zip file to download. Sytnax :- gzip filename
ssh to ip-adress login with user and password tar czvf yourfilename.tar.gz /path/to/folder or file now download to your local machine scp ip-address:/path/to/gzipfile . i.e scp 10.78.34.5:/home/test/test.tar.gz . hope this helps
When I change this to my info I get a connection timeout error. Doesn't seem like anything has happened.
you run windows on you local machine? - > use winscp if linux then you run scp on local machine not on remote, coz prolly you behing router and the remote cant open connection to local.
>> Is there a way to gzip a directory on my server via SSH and then download it to my local machine via SSH? Easy. Get Putty.exe and pscp.exe and place them in your windows\system32 in your local Windows machine. Fire up putty and login to your server through SSH. Navigate to one directory above your directory which you want gzipped. Type tar -cvzf some-directory.tgz directory Your server will gunzip the directory and save that as some-directory.tgz Now switch to your windows cmd prompt. Type this: pscp user@your-server:/path-to-your-file C:\ You are done.