On Tue, Oct 25, 2016 at 04:56:30PM -0700, Tom wrote:
> If ssh key is the only way into those hosts, keep your old key files
> somewhere outside .ssh directory until you are sure that you new key
> lets you in. You can remove the old keys from authorized_keys file when
> everything is proven to be working as expected.

You can leave them in ~/.ssh if you rename them before creating new
keys.  Append "-prev" or something to the file name of both keys.  If
you need to use the old key pair, specify the path to the private key
with ssh's "-i" option.  E.g., "ssh -i ~/.ssh/id_rsa-prev"


-- 
Paul
_______________________________________________
PLUG mailing list
[email protected]
http://lists.pdxlinux.org/mailman/listinfo/plug

Reply via email to