scp permission denied public key 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/