Open sandeep5683 opened 3 years ago
root@ip-172-31-29-92:~# scp Users/sandeep/Downloads/jfrog-artifactory-oss-7.9.0.deb ubuntu@ip-172-31-29-92:/home/ubuntu ubuntu@ip-172-31-29-92: Permission denied (publickey). lost connection how should i copy this file in to my ubuntu
Sir please understand scp comnad
you are trying to use it a wrong way
hi sandeep, the syntax for scp is scp -i <pemfile> sourcefile user@publicip:/path
scp -i <pemfile> sourcefile user@publicip:/path
root@ip-172-31-29-92:~# scp Users/sandeep/Downloads/jfrog-artifactory-oss-7.9.0.deb ubuntu@ip-172-31-29-92:/home/ubuntu ubuntu@ip-172-31-29-92: Permission denied (publickey). lost connection how should i copy this file in to my ubuntu