Thank you very much for the clarification, Nick! I’m going to upgrade libssh2 to the latest.
Thanks, Yang > On May 6, 2022, at 07:28, Nick Couchman <vn...@apache.org> wrote: > > On Thu, May 5, 2022 at 6:54 PM Michael Jumper <mjum...@apache.org > <mailto:mjum...@apache.org>> wrote: > On Sun, May 1, 2022 at 12:36 AM Yang Yang <yy8...@icloud.com.invalid> wrote: > Hi Nick, > > I found that only ssh-rsa and ssh-dss are mentioned in ssh_agent.c > <https://github.com/apache/guacamole-server/blob/b2ae2fdf003a6854ac42877ce0fce8e88ceb038a/src/protocols/ssh/ssh_agent.c#L59>, > does that mean other algorithms are currently not supported? > > No, ssh_agent.c only deals with SSH agent forwarding support which is not in > play here. For authentication with an SSH server, any key format supported by > the libssh2 library present on the system can be used. > > > Also, if you're using Ubuntu with libssh2 1.8.0, you probably don't have > support for some of the host key algorithms, According to their change log, > 1.9.0 introduced support for ECDSA and ED25519 key support, so you'll > probably need to bump up the version of libssh2. It's pretty easy to build > manually, so shouldn't be too difficult, or find a distribution that includes > it by default. > > -Nick