scp permission denied (publickey) ubuntu code example
Example: scp permission denied (publickey) but ssh works
scp -i ~/.ssh/my-private-key.pem file.txt [email protected]:/home/bitnami/
scp -i ~/.ssh/my-private-key.pem file.txt [email protected]:/home/bitnami/