FOR TIPS, gUIDES & TUTORIALS

subscribe to our Youtube

GO TO YOUTUBE

14455 questions

17168 answers

28195 comments

0 members

We are migrating to our new platform at https://community.teltonika.lt. Moving forward, you can continue discussions on this new platform. This current platform will be temporarily maintained for reference purposes.
0 votes
1,671 views 0 comments
by
Using a RUT950 and programmatically emulating SSH - but while I can use the CLI to see the data, when attempting to connect using SSH.NET get the error 'Failed to negotiate key exchange algorithm'. The IP, user and password are the same as the CLI (though the CLI can only be invoked when signed in, and you have to sign into the CLI).  Can the SSH be programmatically emulated (am using VS2017 C# Community and Renci's SSH.NET) or is it always a two-level sign-in.

1 Answer

+1 vote
by anonymous
RUTOS (Teltonika routers operating system) use newers SSH key exchange algorithms (they are safer) which is not compatible with your used "SSH.NET" algorithms.

One of the solution is use "plink.exe" (third-party application) integration.

Another solution is use C# library which is compatible with newers SSH key exchange algorithms.
Best answer