Displaying 1 result from an estimated 1 matches for "ssh_host_rsa_key_2".
Did you mean:
ssh_host_rsa_key
2020 Oct 02
4
[Bug 3219] New: Can't connect to a server that is using several host keys of the same type
...ble to *specify* multiple keys of the
same
type (e.g. two ecdsa-sha2-nistp256 keys). But in the latter case, I
couldn't
connect using any key except the first one that was specified in
configuration.
To reproduce, run
$ rm ~/.ssh/known_hosts
$ cd /etc/ssh/
$ ssh-keygen -t rsa -f ssh_host_rsa_key_2
$ `which sshd` -ddd -p 23 \
-oHostKey=/etc/ssh/ssh_host_rsa_key \
-oHostKey=/etc/ssh/ssh_host_rsa_key_2
Note that both keys are loaded:
debug1: private host key #0: ssh-rsa
SHA256:xlqcusIXWGVZHjhv4HCW8mE5UfJi/rv6feiIL5sL9kE
debug1: private host key #1: ssh-rsa
SHA...