Skip to content

Instantly share code, notes, and snippets.

@28development
Created April 18, 2018 13:39
Show Gist options
  • Save 28development/87d8b848b806bb7c9ce55fd43188c501 to your computer and use it in GitHub Desktop.
Save 28development/87d8b848b806bb7c9ce55fd43188c501 to your computer and use it in GitHub Desktop.
SCP command to copy a folder from a windows machine to an ubuntu machine
Copy the project "app" inside C:\laragon\www\ to the ubuntu server with the written location,
for security reasons one has to add the public key (.pem)
_____________________________________________________________________________________________
// Current dir in console has the .pem file
scp -r -i yourPublicKey.pem \laragon\www\app [email protected]:/home/bitnami/htdocs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment