Hello, is it possible to specify the host key preference when connecting to a server?
In kex.c there is #ifdef HAVE_ECDH #define KEY_EXCHANGE "ecdh-sha2-nistp256,diffie-hellman-group1-sha1" #define HOSTKEYS "ecdsa-sha2-nistp256,ssh-rsa,ssh-dss" #else #define KEY_EXCHANGE "diffie-hellman-group1-sha1" #define HOSTKEYS "ssh-rsa,ssh-dss" #endif so they seem to be predefined. Is that correct? And if yes, is it possible to circumvent this and specify your own host-key preference dynamically? Regards, Oliver Gasser
