no matching key exchange method found.
See original GitHub issueI am trying to copy my build Artifacts to my Linux Server using azure-piplines and this task:
- task: CopyFilesOverSSH@0
inputs:
sshEndpoint: 'pillbox'
sourceFolder: '$(build.artifactstagingdirectory)'
contents: 'AmiKoWindows/bin/Release/Amiko-Installer/Amiko-Installer.msi'
targetFolder: '/home/ftp/Amiko_Desitin_Win7.msi'
The SSH Copy-Job always fails. My SSH log on the receiving end says:
Jun 12 16:02:15 [sshd] Unable to negotiate with 137.135.130.50 port 1984: no matching key exchange method found. Their offer: ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha1 [preauth]
I use Ed25519
which is the most recommended public-key algorithm available today.
any thoughts on when Azure-Pipeline-Tasks may support that? The offered key exchange methods seem a bit outdated AFAICT.
You can find the build here: https://dev.azure.com/ywesee/AmiKo_Csharp/_build/results?buildId=33
This may be related: #8818, https://github.com/MicrosoftDocs/vsts-docs/issues/3169
Issue Analytics
- State:
- Created 4 years ago
- Comments:8 (4 by maintainers)
Top Results From Across the Web
How to enable diffie-hellman-group1-sha1 key exchange on ...
I got Unable to negotiate with 192.168.1.1 port 22: no matching key exchange method found. Their offer: curve25519-sha256 ...
Read more >How to Fix 'No Matching Key Exchange Method Found' on Mac
These are instructions on how to fix the 'no matching key exchange method found' error message when trying to SSH on Mac.
Read more >macOS – SSH Error 'No Matching Exchange Method Found'
Mac SSH error Problem seen after upgrading macOSX to Sierra, where Open SSH Version 7 stops you communicating with devices using RSA SHA1...
Read more >SSH oh MY: no matching key exchange method found. Their ...
Unable to negotiate with 192.168.2.1 port 22: no matching host key type found. Their offer: ssh-rsa. No worries, we can fix that:
Read more >SSH: "no matching key exchange method found" when ...
ssh remotehost Unable to negotiate with 1.2.3.4 port 22: no matching key exchange method found. Their offer: diffie-hellman-group14-sha1.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Hi everyone! Current ‘ssh2’ version for CopyFilesOverSSHV0 task is 1.4.0, which should resolve this issue - please let us know if you still see it.
@zdavatz Sorry for closing it, I reopened issue and marked as duplicate - you can follow the link below to be up to date with the progress regarding this issue
Duplicate of #11443