How to add RSA key to authorized_keys file?
Make sure when executing Michael Krelin’s solution you do the following Note that without the double >> the existing contents of authorized_keys will be over-written (nuked!) and that may not be desirable.