Described as a memorandum
$ pwd
> /home/ubuntu/directory/to/folder
$ pwd
>Check the directory you want to paste, this time copy and paste to the desktop
> /Users/username/desktop
$ scp -i ~/.ssh/filename.pem -r [email protected]:/home/ubuntu/directory/to/folder /Users/username/desktop
Recommended Posts