Tutorial: How to upload files to your instance

posted Oct 14, 2015, 11:16 PM by SRGICS UPLB   [ updated Oct 14, 2015, 11:44 PM ]
If you need to upload files to your instance from the command line, the syntax is shown below.

$scp -oUserKnownHostsFile=/dev/null -i <Key File> <Filename> ubuntu@<Floating IP>:.

For example:
$scp -oUserKnownHostsFile=/dev/null -i user.pem hello.txt ubuntu@10.0.3.243:.