How to use command line option
sw-atparagon opened this issue · 2 comments
sw-atparagon commented
In the sftp command line client I am able to add -o HostKeyAlgorithms=+ssh-rsa -o "PubkeyAcceptedAlgorithms=+ssh-rsa".
Can I do something similar using the c# ssh.net library? Without it the connection
does not work either because there no mutual signature algorithm without "PubkeyAcceptedAlgorithms=+ssh-rsa" or no matching host key type found. Their offer: ssh-rsa without the -o HostKeyAlgorithms=+ssh-rsa -o "PubkeyAcceptedAlgorithms=+ssh-rsa" option.
Rob-Hague commented
The library already supports ssh-rsa by default. Could you please clarify the error you receive?
sw-atparagon commented
It seems I was using an older version of ssh.net It seems to work now Thank you