When installing the sudo plugin on a host server the following error is reported
************************
[FAIL]
- Failed to copy file using ssh.
- Error: /bin/bash: /usr/bin/sss_ssh_knownhostsproxy: No such file or directory
/bin/bash: line 0: exec: /usr/bin/sss_ssh_knownhostsproxy: cannot execute: No such file or directory
ssh_exchange_identification: Connection closed by remote host
************************
There is a corrupt or invalid entry in either "/etc/ssh/ssh_config" or "~/.ssh/config" referencing “/usr/bin/sss_ssh_knownhostsproxy”
1. Comment out or remove the reference to “/usr/bin/sss_ssh_knownhostsproxy” from “/etc/ssh/ssh_config” or “~/.ssh/config”. Whichever is applicable.
2. Verify that the permissions are correct on "/etc/ssh/sshd_config" & "/etc/ssh/ssh_config". They should be
-rw-------. 1 root root 4270 Dec 7 11:59 /etc/ssh/sshd_config
-rw-r--r--. 1 root root 1770 Jul 12 2021 /etc/ssh/ssh_config
3. Reinstall the sudo plugin.
© ALL RIGHTS RESERVED. Terms of Use Privacy Cookie Preference Center