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

authentication: adding hostname parameter to ssh method #144

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

danlavu
Copy link

@danlavu danlavu commented Dec 20, 2024

Some tests will require to connect using the client hostname instead of localhost, adding this flexibility.

@danlavu
Copy link
Author

danlavu commented Dec 20, 2024

INFO     2024-12-20 07:03:42,965          client.test Previous command completed with exit code 202
                                                      Output: |
                                                        spawn ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o PreferredAuthentications=password -o NumberOfPasswordPrompts=1 -l user1 localhost
                                                        KnownHostsCommand-ORDER /usr/bin/sss_ssh_knownhosts localhost failed, status 1

                                                        KnownHostsCommand failed

Ran into the following issue, SSSD/sssd#7664 , I'm sure the host is not up to date, but it bring this to my attention.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant