-
Bug
-
Resolution: Unresolved
-
Major
-
CentOS Stream 10
-
sssd-2.10.0-2.el10
-
No
-
Important
-
rhel-sst-idm-sssd
-
ssg_idm
-
9
-
10
-
1
-
False
-
-
None
-
None
-
Pass
-
None
-
All
-
None
What were you trying to do that didn't work?
/usr/bin/ansible-pull --url ssh://USER@gitrepo.domain:33333/repo.git
localhost | FAILED! => {
"changed": false,
"cmd": "/usr/bin/git ls-remote 'ssh:********repo.git' -h refs/heads/HEAD",
"msg": "KnownHostsCommand-ORDER /usr/bin/sss_ssh_knownhosts [gitrepo.domain]:33333 failed, status 1\r\nKnownHostsCommand failed\r\nfatal: Could not read from remote repository.\n\nPlease make sure you have the correct access rights\nand the repository exists.",
"rc": 128,
"stderr": "KnownHostsCommand-ORDER /usr/bin/sss_ssh_knownhosts [gitrepo.domain]:33333 failed, status 1\r\nKnownHostsCommand
failed\r\nfatal: Could not read from remote repository.\n\nPlease make sure you have the correct access rights\nand the repository exists.\n",
"stderr_lines": [
"KnownHostsCommand-ORDER /usr/bin/sss_ssh_knownhosts [gitrepo.domain]:33333 failed, status 1",
"KnownHostsCommand failed",
"fatal: Could not read from remote repository.",
"",
"Please make sure you have the correct access rights",
"and the repository exists."
],
"stdout": "",
"stdout_lines": []
}
If I comment out
Match exec true
KnownHostsCommand /usr/bin/sss_ssh_knownhosts %H
in /etc/ssh/ssh_config.d/04-ipa.conf then it works.
Please provide the package NVR for which bug is seen:
sssd-2.10.0~beta2-3.el10.x86_64
Expected results
No failure, ssh connects.
- links to
-
RHBA-2024:140063 sssd update