ssh zip directory and download code example
Example 1: zip folder ssh
zip -r archive-name.zip /directory-name
Example 2: zip folder ssh
tar -czvf archive-name.tar.gz /Directory-Name
zip -r archive-name.zip /directory-name
tar -czvf archive-name.tar.gz /Directory-Name