Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

how to ssh copy to my aws ec2 linux

# for your eyes only

scp -i "keypair.pem" /home/user/.ssh/id_rsa.pub <ec2 instance with public dns.compute-1.amazonaws.com>:/home/ubuntu/.ssh
id_rsa.pub 
 
PREVIOUS NEXT
Tagged: #ssh #copy #aws #linux
ADD COMMENT
Topic
Name
1+6 =