[ansible-project] Re: Encrypted SSH Key leads to Invalid format

2022-10-02 Thread Dan Linder
Can you provide a minimal Ansible playbook with a vaulted variable file to see if we can recreate it or see anything amiss? The error message you're showing states "root @ SOME_IP: Permission denied (publickey,password)" which doesn't seem to be ansible-vault related. On Sunday, October 2,

Re: [ansible-project] Encrypted SSH Key leads to Invalid format

2022-10-02 Thread Jeremie Levy
Yes it works, and it works unencrypted. On Sun, 2 Oct 2022 at 21:02 Evan Hisey wrote: > Can you confirm the decrypted key is valid by direct ssh? Hard to tell > for sure but that looks like the target host is rejecting the key format. > Not all key formats are accepted by all targets. I have

Re: [ansible-project] Encrypted SSH Key leads to Invalid format

2022-10-02 Thread Evan Hisey
Can you confirm the decrypted key is valid by direct ssh? Hard to tell for sure but that looks like the target host is rejecting the key format. Not all key formats are accepted by all targets. I have run in to this with Github and Tenable Scanners. On Sun, Oct 2, 2022 at 6:15 AM

[ansible-project] Encrypted SSH Key leads to Invalid format

2022-10-02 Thread jer...@gmail.com
I'm using in inventory/group_vars/all.yaml: *ansible_ssh_private_key_file: '{{inventory_dir}}/group_vars/path/to/key'* This Key is working well when it's plain text When I encrypt the file with ansible-vault, i get the error: *Load key