-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Copy Files over SSH: Update ssh2 to support Ed25519 keys #11443
Comments
Not sure but it seems like other tasks are also affected, such as SSH inline script |
The current version of the task uses a version of ssh2-streams which does include ed25519 support, but it seems to have that support turned off for some reason. As far as I can tell from a bit of code and issue walking is that the task fails at https://github.com/mscdex/ssh2-streams/blob/master/lib/keyParser.js#L749 which means that the It's a good chance that this is a bug. |
Seems like the task is 1 minor version behind (mscdex/ssh2#352 (comment)) |
@tero-dev We use Node.js v6 for running this task and ssh2 library for connection and it requires Node.js v12. |
@leantk could you please check this one out |
@damccorm @zachariahcox for comment |
@AlexandrKravchuk I agree this probably isn't worth the investment right now. There's been talk in the past of upgrading our node handler from v6 to a newer node version which would make this more feasible, for the moment I think we should just keep this issue open as a future feature and not act on it. If we do upgrade our node handler then we could do this more easily. |
Created relation issue for node update - microsoft/azure-pipelines-agent#2967 |
This issue is stale because it has been open for 180 days with no activity. Remove the stale label or comment on the issue otherwise this will be closed in 5 days |
Still waiting for this. |
Looks like some effort is being made microsoft/azure-pipelines-agent#3042 (comment) |
This issue is stale because it has been open for 180 days with no activity. Remove the stale label or comment on the issue otherwise this will be closed in 5 days |
And still waiting for this. |
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. |
This issue is stale because it has been open for 180 days with no activity. Remove the stale label or comment on the issue otherwise this will be closed in 5 days |
Question, Bug, or Feature?
Type: Feature
Issue Description
Are any efforts being made to update to a newer ssh2 version that fully supports ed25519 keys?
because as of now you cant use them on "Copy Files over SSH" (results in Error: Cannot parse privateKey: Unsupported key format.)
The text was updated successfully, but these errors were encountered: