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

Ansible failed with Paramiko to establish SSH connection to hosts while OpenSSH does. #208

Closed
1 of 3 tasks
stefbenoist opened this issue Nov 23, 2018 · 3 comments
Closed
1 of 3 tasks
Assignees
Labels
bug Something isn't working

Comments

@stefbenoist
Copy link
Contributor

stefbenoist commented Nov 23, 2018

Issue Type

Put an X between the brackets of the corresponding issue type

  • Bug report
  • Documentation issue report
  • Improvement request

Description

Ansible failed with Paramiko to establish SSH connection to hosts while OpenSSH does.

fatal: [35.240.110.164]: UNREACHABLE! => changed=false 
msg: Authentication failed.
unreachable: true

Note that it works with the use of ssh-agent
#207

Steps to reproduce the issue

Set the Yorc config option ansible_use_openssh to false
Deploy a topology

@loicalbertin loicalbertin added the bug Something isn't working label Nov 26, 2018
@stefbenoist stefbenoist self-assigned this Dec 10, 2018
@stefbenoist
Copy link
Contributor Author

It seems to be specific with GCP infrastructure.

@stefbenoist
Copy link
Contributor Author

stefbenoist commented Dec 11, 2018

Here is the issue:
Paramiko doesn't support new OpenSSH private key format using "BEGIN OPENSSH PRIVATE KEY" especially used for
Ed25519 algorithm.
paramiko/paramiko#602

@stefbenoist
Copy link
Contributor Author

stefbenoist commented Dec 11, 2018

Hum, it seems I've an old Paramiko version (1.16.0) and it's working with Paramiko 2.4.2 ( 2018-09-18), so I close this issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants