zip a directory with ssh code example Example 1: zip folder ssh zip -r archive-name.zip /directory-name Example 2: how to zip a folder in putty zip example4 *