3

There are six key files in /etc/ssh directory for private and public keys. 4 of them are for DSA and RSA public & private keys. but there are two more files named ssh_host_key and ssh_host_key.pub, what are these keys?

1 Answer 1

2

ssh_host_key is the private key if you use the SSHv1 protocol and ssh_host_key.pub is the matching public key. It should be a RSA key.

If you use SSHv2 you chose between multiple signing algorithms like DSA, RSA and ECDSA and then the ssh_host_ecdsa_key and etc are used.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .