SyntaxFix
Write A Post
Hire A Developer
Questions
I was initially running:
sudo scp
Once I ran just scp, without sudo, it copied everything fine:
scp
sudo
It seems to me that sudo scp command wasn't reading my current user's SSH public key at ~/.ssh/id_rsa.pub.
~/.ssh/id_rsa.pub