Dear readers,
I have already searched quite a lot for a possible answer on this, but it looks like I'm either looking in the wrong direction, or I have something that is not so common.
After trying to improve my SSL security, on each boot I get a list of errors in the order of this:
This all started after i ran these commands, in this order :
Now when I connect with Putty, I do get a new SSL certif notifier and I can connect perfectly.
I do not receive errors on boot if I do the above commands without passphrase.
But I do want the passphrases because apparently it enhances my security by encrypting my private keys.
However, I am at a loss why it mentions an incorrect passphrase when I can run the commands (with passphrase) without issues.
I have already searched quite a lot for a possible answer on this, but it looks like I'm either looking in the wrong direction, or I have something that is not so common.
After trying to improve my SSL security, on each boot I get a list of errors in the order of this:
Code:
Error loading host key "/etc/ssh/ssh_host_ed25519_key" : incorrect passphrase supplied to decrypt private key.
Could not load host key: /etc/ssh/ssh_host_ed25519_key
This all started after i ran these commands, in this order :
Code:
rm /etc/ssh/ssh_host_*key*
ssh-keygen -t ed25519 -f /etc/ssh/ssh_host_ed25519_key < /dev/null # i add a complex passphrase when requested.
ssh-keygen -t rsa -b 4096 -f /etc/ssh/ssh_host_rsa_key < /dev/null # i add a complex passphrase when requested.
ssh-keygen -G /etc/ssh/moduli.all -b 4096
ssh-keygen -T /etc/ssh/moduli.safe -f /etc/ssh/moduli.all
mv /etc/ssh/moduli.safe /etc/ssh/moduli
rm /etc/ssh/moduli.all
Now when I connect with Putty, I do get a new SSL certif notifier and I can connect perfectly.
I do not receive errors on boot if I do the above commands without passphrase.
But I do want the passphrases because apparently it enhances my security by encrypting my private keys.
However, I am at a loss why it mentions an incorrect passphrase when I can run the commands (with passphrase) without issues.