This snippet was borne from a roadblock I encountered when following the official Digital Ocean tutorial for “How to Set Up SSH Keys“. When following those steps I got stuck trying to copy the public key from my local computer to the DO Droplet with the response “Permission denied (publickey)”. Here is how I fixed…
