Created
March 20, 2018 02:57
-
-
Save quangnd/539f5e2a7f63634c0b73b931414e4a5a to your computer and use it in GitHub Desktop.
Upload file to Linux server
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
> To copy files between your computer and your instance you can use an FTP service like FileZilla or the command scp which stands for secure copy. | |
> To use scp with a key pair use the following command: | |
``` | |
scp -i path/to/key file/to/copy [email protected]:path/to/file | |
``` | |
> To use it without a key pair, just omit the flag -i and type in the password of the user when prompted. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment