Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

no matching key exchange method found. #10642

Closed
zdavatz opened this issue Jun 12, 2019 · 8 comments
Closed

no matching key exchange method found. #10642

zdavatz opened this issue Jun 12, 2019 · 8 comments
Assignees
Labels
Area: ABTT Akvelon Build Tasks Team area of work backlog Work that is on the backlog and won't get marked stale enhancement Task: CopyFilesOverSSH

Comments

@zdavatz
Copy link

zdavatz commented Jun 12, 2019

I 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

@egor-bryzgalov
Copy link
Member

Closed because this issue was mentioned in #11443.

@zdavatz
Copy link
Author

zdavatz commented Apr 28, 2020

Ok, but does it work now? It seems not!

@anatolybolshakov
Copy link
Contributor

@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

@zdavatz
Copy link
Author

zdavatz commented Apr 29, 2020

Ok, thank you! Would be great, if this would work.

@AlexandrKravchuk AlexandrKravchuk self-assigned this May 7, 2020
@AlexandrKravchuk AlexandrKravchuk removed their assignment May 14, 2020
@leantk leantk added the backlog Work that is on the backlog and won't get marked stale label May 19, 2020
@olljanat
Copy link

olljanat commented Oct 3, 2021

FYI. #12317 contained solution to this one but I closed it now as it didn't got reviewed on ~1,5 years someone else of those who need this can try to create alternative PR.

@zdavatz
Copy link
Author

zdavatz commented Oct 4, 2021

Ok, thank you! I will try to test it.

@anatolybolshakov
Copy link
Contributor

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.

@alexander-smolyakov alexander-smolyakov self-assigned this May 29, 2022
@alexander-smolyakov
Copy link
Contributor

I'm closing this due to inactivity, feel free to request a reopening if you have further questions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: ABTT Akvelon Build Tasks Team area of work backlog Work that is on the backlog and won't get marked stale enhancement Task: CopyFilesOverSSH
Projects
None yet
Development

No branches or pull requests

8 participants