This is how you can zip a folder via SSH on your Linux server.