How can I delete the exisiting public key and replace it with fresh?

How can I replace a public key on a Linux Ubuntu machine with a fresh key file which will be passphrase protected?

LeaKloss's picture

The key will be in ~/.ssh/authorized_keys

Vote the answer: 
4.5
Average: 4.5 (2 votes)