Solved sha1 support in the SSH

Hi!
I have got a question:
How can I make support sha1 in the SSH on FreeBSD 11.2-Release?
I need sha1 because my old CISCO switch support only sha1 and
when I am trying to connect to the switch I get a message:

Unable to negotiate with 192.168.XXX.XXX port 22:
no matching key exchange method found. Their offer: diffie-hellman-group1-sha1

By the way if you will compile sshlib with suppport ssh1 you will get an error,
because the packet libssh-0.8.4 does not include ssh1.h. I have found ssh1.h
into the libssh-0.7.6.zip which I downloaded from http://www.libssh.org/.

Thanks for advice.
 
Back
Top