logoalt Hacker News

aaronmdjones • today at 1:17 PM • 1 reply • view on HN

You would want to do that for key exchange too, not just authentication. OpenSSH already supports this for authentication; setting "AuthenticationMethods publickey,publickey" in sshd_config(5) will force users to supply 2 independent authorised keys. It also already supports hybrid key exchange.


Replies

stabbles • today at 1:23 PM

AuthenticationMethods publickey,publickey does not require different types, so if you have two machines each with a unique (rsa, ed25199) pair, OpenSSH will also accept (rsa, rsa) or (ed25199, ed25199).

➕ show 1 reply