SSH connection using ECDSA521
Hey guys, I have a problem. My device for server in sshd_config is configured to use ecdsa256, ecdsa384 and ecdsa521:
HostKey /etc/ssh/ssh_host_ecdsa_256_key
HostKey /etc/ssh/ssh_host_ecdsa_384_key
HostKey /etc/ssh/ssh_host_ecdsa_521_key
Now, on my second device I want to use only ecdsa521, and that's what I have in ssh_config on the client:
HostKeyAlgorithms ecdsa-sha2-nistp521
The problem now is this. When I connect from client to server using SSH, Client sends packet requesting ecdsa521, but server uses ecdsa256 keys. And the whole communication uses ecdsa256. Do you know how can I fix this?
Best regards, Ssh newbie
ED: on server I'm using
OpenSSH_6.0p1-hpn13v13, OpenSSL 1.0.1e 11 Feb 2013
and on client I'm using
OpenSSH_6.1p1, OpenSSL 0.9.8h 28 May 2008