Displaying posts tagged with

“user”

Extract TAR files over SSH

Instead of copying a large tar file over ssh then extracting, take care of the whole process with one command: PUSH METHOD: cat  tarfile | ssh –C user@remotehost “(cd targetdirectory && tar –xf -)” This will stream the tarfile over a compressed ssl tunnel and the other side will only extract if the target directory [...]