How to use ssh to transfer files from computer a to local computer
To recursively copy a whole directory using scp, you need to add the -r
switch
scp -r remotehost:/path/to/remote/dir/ /path/to/local/dir/
To recursively copy a whole directory using scp, you need to add the -r
switch
scp -r remotehost:/path/to/remote/dir/ /path/to/local/dir/