jiahui-qin opened a new issue, #317: URL: https://github.com/apache/mina-sshd/issues/317
### Version 2.7.0 ### Bug description I notice sometimes sshd use "rsa key" connect remote, log like this ``` "Server at /192.168.218.182:830 presented unverified RSA key: SHA256:3lpuMiEyQ192HpfOAwjv+jhmliKfrG7w2Yl8x4bpfog" ``` and sometimes use "ec key" ``` Server at /192.168.218.182:830 presented unverified EC key: SHA256:nxJ168FpD/BD25sqDMQGv1ji6E11Fops01b0QUEOLxg ``` and the ec key never change. I modified /root/.ssh/config file, but not work ``` HostKeyAlgorithms ssh-rsa ``` ### Actual behavior use "ec key" connect remote ### Expected behavior force use "rsa key" connect remote ### Relevant log output _No response_ ### Other information _No response_ -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@mina.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@mina.apache.org For additional commands, e-mail: dev-h...@mina.apache.org