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.
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.