Created
April 18, 2018 13:39
-
-
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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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