guerlando
Posts: 10
Joined: Tue Mar 15, 2016 12:38 am

Raspbian Pixel passwordless SSH - autogenerated keys?

Wed Oct 12, 2016 10:54 pm

I've just installed the new Raspbian Pixel and in the process of installing new SSH keys into it, I noticed that /etc/ssh already has some keys, what are them? Are them auto-generated? Also, the file sshd_config points to all these keys by:

Code: Select all

Protocol 2
# HostKeys for protocol version 2
HostKey /etc/ssh/ssh_host_rsa_key
HostKey /etc/ssh/ssh_host_dsa_key
HostKey /etc/ssh/ssh_host_ecdsa_key
HostKey /etc/ssh/ssh_host_ed25519_key
I don't know if I'm supposed to replace them and I don't know how to generate all these types, I only know how to generate the rsa key pair. Could somebody help me?

asandford
Posts: 1998
Joined: Mon Dec 31, 2012 12:54 pm
Location: Waterlooville

Re: Raspbian Pixel passwordless SSH - autogenerated keys?

Thu Oct 13, 2016 1:00 am

They should be generated at first boot, check the timestamps

Return to “Raspberry Pi OS”