"permission denied" generally indicates you are using the wrong key to connect to the server. Can you please verify if you are using the right pem file when running the command ?
The explanation is too good. But before going to the explanation you have to show the error for clarification of viewers, then only they can understand why they get an error and how to resolve it.
Thank you for the feedback. I agree with you. But i think in this case, we are only showing how to use SCP command to copy the files to the remote machines. We are not looking at any errors..
You will have to do it from the local machine only..Just change the source and destination. In this case, the source will be EC2 and the destination will be your local machine. Example : scp -i @: ...scp -i xyz.pem ec2-user@1.2.3.4:/home/ec2-user/index.html /home/dgruploads/Downloads....Please let me know if this helps..
@@sreelekhareddy1973 You can use command prompt or powershell. Just need to make sure that either of them support scp. If not, you will need to install scp and then use.
Thanks man!
well explained brother...
And also please create a video for password auth...
Thanks and Stay blessed...
I can get ssh to work, but I'm a "Permission denied (publickey,gssapi-keyex,gssapi-with-mic)." Any ideas?
"permission denied" generally indicates you are using the wrong key to connect to the server. Can you please verify if you are using the right pem file when running the command ?
Which .pem we r using to transfer local to aws?
Is it ec2 key?
Yes..same key that we use to connect to the instance
Thanks
The explanation is too good. But before going to the explanation you have to show the error for clarification of viewers, then only they can understand why they get an error and how to resolve it.
Thank you for the feedback. I agree with you. But i think in this case, we are only showing how to use SCP command to copy the files to the remote machines. We are not looking at any errors..
How to connect local from ec2?
I am able to do scp/ssh from local to ec2 but not getting any response from ec2 to local
You will have to do it from the local machine only..Just change the source and destination. In this case, the source will be EC2 and the destination will be your local machine. Example : scp -i @: ...scp -i xyz.pem ec2-user@1.2.3.4:/home/ec2-user/index.html /home/dgruploads/Downloads....Please let me know if this helps..
@@DGRUploads in local machine should we need to use command prompt ?or powershell? Please reply for this
@@sreelekhareddy1973 You can use command prompt or powershell. Just need to make sure that either of them support scp. If not, you will need to install scp and then use.