Categories
Linux Tech Windows

How to import ed25519 keys for use in Putty (on Windows)

Go to your ssh key dir and print the contents of the private key file (id_ed25519) in my case.

Create a new text file and paste the contents of your private key file inside and save.

Open PuTTY Key Generator

Click File → Load private key

Select all files from file extensions

Open text file containing your key

The key is imported now.

Now, you can save your private key in PuTTY’s weird format.

Click on ‘Save private key’

Categories
Linux Security Tech

How to generate and install ed25519 SSH keys on Linux (CentOS 7)

The following command generates a public and private ed25519 key pair.

ssh-keygen -t ed25519

Enter a password to protect the key if you wish then hit enter.

Private and public keys have now been generated and are stored in the location listed

Next step is to install the private key on the server

 ssh-copy-id andre@localhost

Verify fingerprint to make sure you are connecting to the intended server.

Enter your password.

This public key has now been added to the server.