You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
what is difference ssh.net vs ssh.net-netconf #1197
My program is doing netconf communication. (me is netconf client)
1-1. When I use 'ssh.net-netconf', all of them(connect/sendreceieve ) success.
1-2. When I use 'ssh.net', only connect success.
what difference?
I need host key algorithm "ecdsa-sha2-nistp256". But netconf package has just rsa, dss.
How can I add "ecdsa-sha2-nistp256" algorithm without ssh.net package?
@Rob-Hague I'm not familiar with netconf at all. I see what was change in this fork, but for now, I don't know what it does. I need more time to get to know this. Unless @Rob-Hague you know what this is about.
@Rob-Hague
I confirmed that it is operating normally.
The parameters of SendReceiveRPC() change depending on the _usingFramingProtocol variable.
I think parameter is problem.
Please reflect the above code in the SSH.NET package.
Activity
Rob-Hague commentedon Oct 6, 2023
The SSH.NET-NETCONF package is a fork of this one, with (only) the following changes:
develop...declspec:SSH.NET:develop
That could explain why it works.
WojciechNagorski commentedon Oct 6, 2023
@Rob-Hague I'm not familiar with netconf at all. I see what was change in this fork, but for now, I don't know what it does. I need more time to get to know this. Unless @Rob-Hague you know what this is about.
Rob-Hague commentedon Oct 6, 2023
I am also unfamiliar with netconf
@peter2145 you may try the above change with the latest code here (which has ecdsa) and see if it works
peter2145 commentedon Oct 9, 2023
I using nuget Pkg 'SSH.NET-netconf'.
How Can I Use the latest PKG?
peter2145 commentedon Oct 10, 2023
Also, Is there anything for adding file "ecdsa-sha2-nistp256" algorithm?
I don't want to use nuget PKG 'SSH.NET'.
Rob-Hague commentedon Oct 10, 2023
@peter2145 you should download the code, make the changes to NetConfSession.cs and build it. Then you can add a project reference and see if it works
peter2145 commentedon Oct 10, 2023
@Rob-Hague
I confirmed that it is operating normally.
The parameters of SendReceiveRPC() change depending on the _usingFramingProtocol variable.
I think parameter is problem.
Please reflect the above code in the SSH.NET package.
Rob-Hague commentedon Oct 10, 2023
Thanks for checking. There is actually a similar change in PR #946 which seems to also fix the issue.