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

cant connect to legacy host using ssh-rsa /ssh-dss hostkey algorithm #15181

Open
4 of 11 tasks
dberardo-com opened this issue May 13, 2024 · 2 comments
Open
4 of 11 tasks

Comments

@dberardo-com
Copy link

Please confirm the following

  • I agree to follow this project's code of conduct.
  • I have checked the current issues for duplicates.
  • I understand that AWX is open source software provided for free and that I might not receive a timely response.
  • I am NOT reporting a (potential) security vulnerability. (These should be emailed to security@ansible.com instead.)

Bug Summary

adding to ansible_ssh_common_args -oHostKeyAlgorithms=ssh-rsa results in this error:

[ssh_dispatch_run_fatal: Connection to UNKNOWN port 65535: error in libcrypto](kex: host key algorithm: (no match))

AWX version

24.3.1

Select the relevant components

  • UI
  • UI (tech preview)
  • API
  • Docs
  • Collection
  • CLI
  • Other

Installation method

kubernetes

Modifications

no

Ansible version

No response

Operating system

No response

Web browser

No response

Steps to reproduce

add the run var ansible_ssh_common_args -oHostKeyAlgorithms=ssh-rsa

Expected results

smooth connection

Actual results

it does not get a key match

Additional information

No response

@TheRealHaoLiu
Copy link
Member

does this work with any of our previous awx-ee images? can you help pin point when this stop working.

@dberardo-com
Copy link
Author

dberardo-com commented May 16, 2024

i didnt play around the versions , but i am sure it works with an older one. check this out : https://www.reddit.com/r/ansible/comments/1443kd8/comment/l3vkq11/?utm_source=share&utm_medium=web3x&utm_name=web3xcss&utm_term=1&utm_content=share_button

u/Technical-Tax1578 avatar
Technical-Tax1578

3d ago
seems an openssl issue, perhaps too high of a version. try to use another execution environment, 21.11.0 worked for me, perhaps you can try higher ones and let me know which is the last one to work. https://quay.io/repository/ansible/awx-ee?tab=tags&tag=latest

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants