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
Hello,
First thx for your answers.
The issue is /ssh_config.d/50-cloud-init.conf witch override my ssh_config and i cannot disable PasswordAuthentication to use only the pubkey. I don't have access to it, it's like the file doesn't exist.
Steps to reproduce the problem
I have just installed the last ubuntu srv version into a desktop wipped.
Then tried to adapted the ssh config to disable the PasswordAuthentication ...
So both (pubkey and PasswordAuthentication ) still working.
it's seems that the 50-cloud-init.conf (PasswordAuthentication yes) override my ssh_config (PasswordAuthentication no). I founded by doing a grep PasswordAuthentication into /etc/ssh.
i tried to modified it, but i don't find it.
I tried to add ``ssh_pwauth: falseinto/etc/cloud.cfg.d/newfile.cfg``` witch crash my ssh , so canceled.
I tried to comment the line Include /etc/ssh/ssh_config.d/* , not working , both still working.
Environment details
Cloud-init version:/
Operating System Distribution: Ubuntu 24.04.1 LTS (GNU/Linux 6.8.0-50-generic x86_64)
Cloud provider, platform or installer type: /
Features: any snaps features installed during the server installation
cloud-init logs
The text was updated successfully, but these errors were encountered:
cloud-init doesn't write 50-cloud-init.conf by default. It should only write it if it receives user-data to do so.
If you are certain there is no custom configuration being applied to your instance to set SSH password authentication, please attach the results of cloud-init collect-logs here.
Bug report
Hello,
First thx for your answers.
The issue is /ssh_config.d/50-cloud-init.conf witch override my ssh_config and i cannot disable PasswordAuthentication to use only the pubkey. I don't have access to it, it's like the file doesn't exist.
Steps to reproduce the problem
into
/etc/cloud.cfg.d/newfile.cfg``` witch crash my ssh , so canceled.Include /etc/ssh/ssh_config.d/*
, not working , both still working.Environment details
cloud-init logs
The text was updated successfully, but these errors were encountered: