After I switched from 15.04 to 16.04 and back again I found it quite a hassle to enable ssh each time again. So I wrote a little script which is available at
Versions for unix/linux and windows exist. A mac version is unrealistic as I don’t have access to one.
There are a few things in that article that I find doubtful
“Just remember that increased key length also means slower decryption during your ssh connection”
that’s not true, the public/private RSA keys are not used for the actual encryption which is done using a symmetric session key (roughly speaking)
“As for the password, it is up to you, but since the keys themselves are considered already higher security than a regular password authentication, I don’t use password with them when meant to deploy them to my UT devices”