We have a project in our company in which we connect to a remote server using the library SSH.NET (2016.1.0). The connection we make is very simple, with the following code:
var sftpClient = new Renci.SshNet.SftpClient(host,port,user,password);
Then we perform operations such us look up for files, downloads and uploads.
Today we received an email from the server guys we connect to telling us that they will discontinue weak ciphers and I'm afraid it's not an area I have experience with.
According with their communication, their new SSH (SFTP) Standard will be:
Protocol Suite Standard Allowed Ciphers:
- aes256-ctr
- aes128-ctr
Allowed MACs:
- hmac-sha-512
- hmac-sha-256
- hmac-sha1
Allowed KEX Ciphers:
- diffie-hellman-group-exchange-sha256
- diffie-hellman-group14-sha1
I have checked the website for the latest version of SSH.Net and they seem to support these (https://github.com/sshnet/SSH.NET/tree/2020.0.1).
Now, my question is how do I make a correct use of this library with the correct ciphers? I haven't found any example out there on how to specify these settings.