Copy from Remote Source to Local and Vise Versa
The following code copies the given file from the Remote Server. into local storage into current location
The LightsailDefaultKey-ap-southeast-1.pem
is a private file
scp-i .\LightsailDefaultKey-ap-southeast-1.pem ubuntu@18.141.8.232:consultancyContainerDataBackup .
The following code copies the given file into the Remote Server.
The UTKP.pem
is a private file
scp -i .\UTKP.pem -r .\consultancyImages\consultancyContainerDataBackup\ ubuntu@3.111.21.155:/