SFTP connection with ED25519

0
Hi, We are trying to connect to following SFTP server: sftp-transparency.entsoe.eu This used to work fine but fails after an update of the mentioned server. We noticed they updated their server and now only offer ssh-ed25519 as host key algorithm. We tried with following code (and other attempts): using(var client = new Sftp()) { //tried without and with this line: client.Config.HostKeyAlgorithms = SecureShellHostKeyAlgorithm.ED25519; client.Connect(Host, Config.SourcePort); } All attempts however result in following exception when calling the Connect method: *ComponentPro.Net.SftpException: 'The client and the server have no common host key algorithm.'* On the page https://doc.componentpro.com/ComponentPro-Sftp/ssh-ciphers we saw that a plugin is required? Where can this plugin be found? Thank you, Klaus Vancamelbeke
 
asked 4/27/2022 8:35:11 AM
add a comment

1 Answers

0
Hi KlausVancamelbeke, Please refer to https://github.com/CryptoManiac/Ed25519 https://docs.microsoft.com/en-us/dotnet/api/system.security.cryptography.ecdsa?view=net-6.0 https://github.com/sshnet/SSH.NET
 
answered 4/27/2022 11:33:17 AM
  Thanks. While having looked at all three links, it leaves me clueless how to incorporate any of these as a plugin in Componentpro.Sftp? A sample on how to configure an Sftp instance to be able to connect to sftp-transparency.entsoe.eu would be great. KlausVancamelbeke 4/28/2022 9:57:48 AM
  We are also have a similar issue with connecting to a SFTP server that uses ed25519. Please advise. Chris Slattery 8/1/2023 2:01:10 PM
add a comment

Your Answer

Not the answer you're looking for? Browse other questions tagged sftp or ask your own question.