You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Instruqt distributes ssh keys to all nodes in environment for root only. Need to fix images to distribute keys for a non-root user (e.g. rhel user)
(venv) [rhel@ansible tests]$ ansible rhel -i hosts -m ping
[DEPRECATION WARNING]: Ansible will require Python 3.8 or newer on the controller starting with Ansible 2.12. Current version: 3.6.8 (default, Aug 18
2020, 08:33:21) [GCC 8.3.1 20191121 (Red Hat 8.3.1-5)]. This feature will be removed from ansible-core in version 2.12. Deprecation warnings can be
disabled by setting deprecation_warnings=False in ansible.cfg.
node1 | UNREACHABLE! => {
"changed": false,
"msg": "Failed to connect to the host via ssh: rhel@node1: Permission denied (publickey,gssapi-keyex,gssapi-with-mic).",
"unreachable": true
}
(venv) [rhel@ansible tests]$ ssh root@node1
root@node1: Permission denied (publickey,gssapi-keyex,gssapi-with-mic).
(venv) [rhel@ansible tests]$ ssh node1
rhel@node1: Permission denied (publickey,gssapi-keyex,gssapi-with-mic).
The text was updated successfully, but these errors were encountered:
Instruqt distributes ssh keys to all nodes in environment for root only. Need to fix images to distribute keys for a non-root user (e.g. rhel user)
The text was updated successfully, but these errors were encountered: