Hi, Did you compile libssh with SSH1 support ? by default, libssh doesn't compile in SSH1 support since it is a deprecated protocol.
Also I see that your server (1.99) supports both SSH1 and SSH2. Any specific reason you want to downgrade ? Aris Le 15/11/11 02:57, zirong a écrit : > hello: > Now,I use "libssh 0.5.2" to connect the server which use the ssh1 > protocol.I use the func "ssh_options_set" and set the param > "SSH_OPTIONS_SSH1" ON and "SSH_OPTIONS_SSH2" OFF.There report an > exception "No version of SSH protocol usable(banner: > SSH-1.99-OpenSSH_3.9p1" when I connect to the server. > I wish to know,How can I config the param to connect a server use SSH1 > protocol.If the "libssh 0.5.2" support the SSH1 protocol. > Thank you very much. > please execuse my English. > > THANK YOU. > > 2011-11-14 > ------------------------------------------------------------------------ > zirong
