bolt icon indicating copy to clipboard operation
bolt copied to clipboard

RSA using SHA1

Open cummingscody opened this issue 2 years ago • 9 comments

Describe the Bug

Bolt run from RHEL6->RHEL9 with RSA key errors out when using net-ssh

all authorization methods failed (tried none, publickey, password)
"target":"cilv6s015","action":"command","object":null,"status":"failure","value":"_error":"details":,"kind":"puppetlabs.tasks/connect-error","msg":"Authentication failed for user root@cilv6s015","issue_code":"AUTH_ERROR"
Failed on cilv6s015:
  Authentication failed for user root@cilv6s015

Expected Behavior

Should be able to connect and run commands without native-ssh: true

Steps to Reproduce

Steps to reproduce the behavior:

  • Populate inventory.yaml Include RSA under private-key ( private-key: ~/.ssh/id_rsa_bolt )

Environment

  • Version 3.23.0
  • RH6->RH9

Additional Context

Quick inspection looks net-ssh < 7 doesn't allow for SHA2 with RSA keys.

cummingscody avatar Jul 13 '22 18:07 cummingscody

@cummingscody Unfortunately Bolt is limited to whatever algorithms are supported in net-ssh. Deprecated algorithms are disabled by default, though you can enable them with the ssh.*-algorithms config options listed here. Have you tried setting those?

beechtom avatar Jul 13 '22 20:07 beechtom

This issue has not had activity for 60 days and will be marked as stale. If this issue continues to have no activity for 7 days, it will be closed.

github-actions[bot] avatar Sep 12 '22 00:09 github-actions[bot]

This is related to #3121.

silug avatar Sep 12 '22 14:09 silug

This issue has not had activity for 60 days and will be marked as stale. If this issue continues to have no activity for 7 days, it will be closed.

github-actions[bot] avatar Nov 12 '22 00:11 github-actions[bot]

This issue has not had activity for 60 days and will be marked as stale. If this issue continues to have no activity for 7 days, it will be closed.

This is still an issue.

silug avatar Nov 13 '22 02:11 silug

This issue has not had activity for 60 days and will be marked as stale. If this issue continues to have no activity for 7 days, it will be closed.

github-actions[bot] avatar Jan 14 '23 00:01 github-actions[bot]

I still think this is a valid issue and the bot is absolutely useless and just creates a burden on the contributor side.

bastelfreak avatar Jan 15 '23 09:01 bastelfreak

Still a valid issue, just commenting to prevent bot from labeling this as Stale :).

pr3c0g avatar Sep 14 '23 12:09 pr3c0g