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

Add PasswordAuthentication=no to first ssh command in publiccloud::instance::wait_for_ssh #19894

Merged

Conversation

pdostal
Copy link
Member

@pdostal pdostal commented Aug 7, 2024

It now newly sporadically happens that GCE instance just after creation requires SSH password authentication. We don't support this scenario and the password prompt blocks our terminal so the whole test dies. This is disabling the password authentication leaving us only key authentication which should be always available.

@asmorodskyi
Copy link
Member

But why you adding this only to this certain call ? I would say we need to add it as default option so every call will have it

@pdostal
Copy link
Member Author

pdostal commented Aug 7, 2024

I hate our list of parameters in every ssh command. I will add this option to ~/.ssh/config then.

It now newly sporadically happens that GCE instance just after
creation requires SSH password authentication. We don't support
this scenario and the password prompt blocks our terminal so the
whole test dies. This is disabling the password authentication
leaving us only key authentication which should be always available.
@pdostal pdostal force-pushed the wait_for_ssh_password_glitch branch from a9edf9b to d2e8371 Compare August 7, 2024 07:17
@asmorodskyi asmorodskyi merged commit a08438d into os-autoinst:master Aug 7, 2024
11 checks passed
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.

4 participants