To Download File From Remote Server To Local Machine Using SCP

PHOTO EMBED

Wed Feb 09 2022 12:16:12 GMT+0000 (Coordinated Universal Time)

Saved by @irfan309 #linux #shellscript #scp #copy

#To Download File From Remote Server To Local Machine Using SCP.using Powershell or gitbash 
scp -i .\keys.pem ubuntu@XX.XX.XX.XX:/home/ubuntu/Dir/fileName  C:\Users\USER\Downloads\
content_copyCOPY

lets say i wanted to use or work on data related directory/proj & that is available on remote server, so i wanted to use that on local mahichine. using this snippet can download on local machine
own