SSH keys



  • i have reset all my keys for all my users on my pfSense Box….
    I was wondering what is /etc/ssh/* key files? (not config but the keys)

    -rw-r--r--  1 root  wheel  125811 Apr 12 07:49 moduli
    -rw-r--r--  1 root  wheel    1683 Apr 12 07:49 ssh_config
    -rw-------  1 root  wheel    668 Dec 31 19:48 ssh_host_dsa_key
    -rw-r--r--  1 root  wheel    617 Dec 31 19:48 ssh_host_dsa_key.pub
    -rw-------  1 root  wheel    992 Dec 31 19:34 ssh_host_key
    -rw-r--r--  1 root  wheel    657 Dec 31 19:34 ssh_host_key.pub
    -rw-------  1 root  wheel    1679 Dec 31 19:44 ssh_host_rsa_key
    -rw-r--r--  1 root  wheel    409 Dec 31 19:44 ssh_host_rsa_key.pub
    -rw-r--r--  1 root  wheel    418 Jun 16 11:21 sshd_config

    can i delete them?
    thank you



  • the host keys for the SSH server, not related to user keys.



  • can u elaborate more? What is it for?

    if a user is signing on with there auth keys. why do i need this?

    i can delete them? can i regenerate new keys?

    can i delete the DSA and the other one, and just keep RSA? can i change then to 4096 bits?

    any where i can read up more on this?


Log in to reply