how to scp from vm to local
# Download the file ~/yourFile.xyz to your home directory on your computer
$ scp [email protected]:~/yourFile.xyz ~/.
# Download the folder yourFolder to your home directory on your computer
$ scp -r [email protected]:~/yourFolder ~/.