So ssh has the option HostKeyAlgorithmsHostKeyAlgorithms
. Sample usage:
ssh -o "HostKeyAlgorithms ssh-rsa" user@hostname
ssh -o "HostKeyAlgorithms ssh-rsa" user@hostname
I'm trying to get the client to connect using the servers ecdsaecdsa
key, but I can't find what the correct string is for that.
What command can I use to get a list of the available HostKeyAlgorithms
?