Transfer Folders over SCP With tar + zip Commands zip + tar tar -cvzf <nameoftar>.tar.gz <nameoffolder> Transfer over scp scp ./<nameoftar>.tar.gz <user>@<server>:<filelocation> untar + unzip (on remote) tar -xvzf <nameoftar>.tar.gz