[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Help: Create a client to connect to SSH server, but it does not support ssh-dss
[Thread Prev] | [Thread Next]
- Subject: Help: Create a client to connect to SSH server, but it does not support ssh-dss
- From: "CHANG, QUANSHENG" <laurence.chang@xxxxxxxxxxxxxxxxxxxxx>
- Reply-to: libssh@xxxxxxxxxx
- Date: Fri, 21 Aug 2020 21:42:31 +0000
- To: "libssh@xxxxxxxxxx" <libssh@xxxxxxxxxx>
Hi Everyone, The libshh_0.9.3.2 was installed by vcpkg on my computer. The Visual C++ 2015 is being used as developing tool. Platform: Windows 10 64bit. I am writing a client program which connect to different SSH servers. It works for most of servers, but one server I got error message like: no match for method server host key algo: server [ssh-dss], client [ssh-ed25519,ecdsa-sha2-nistp521,ecdsa-sha2-nistp384,ecdsa-sha2-nistp256,rsa-sha2-512,rsa-sha2-256,ssh-rsa] I added ssh_options_set(my_ssh_session, SSH_OPTIONS_HOSTKEYS, "ssh-dss,ecdh-sha2-nistp256"); in my code, but it still not work. Any suggestion, how to make the libssh support ssh-dss ? Best regards Laurence
Re: Help: Create a client to connect to SSH server, but it does not support ssh-dss | Anderson Sasaki <ansasaki@xxxxxxxxxx> |