This simple one-liner will copy all files into a tarball, send the compressed files over a secure SSH connection and then uncompress the files into a local directory.
This parameter to SSH will do this.
A very useful tip to quickly copy files over SSH if you do not wish to use rsync. And it is fast as well. Just have your SSH password ready when prompted, this is a good tip for a regular SSH user.
Here is another version. This will save just the tar file containing the files I wish to download.
This is all very useful. This tars up the whole folder in one go and then transfers the file to your local machine over SSH. This should save a lot of time and is more secure than FTP.
0 Comments