Score:1

SSH - Driving me insane

sv flag

I am using the latest ubuntu 22.04.03 on a headless system. SSH continues to add these lines to the top of the config file each and every reboot, therefore locking me out.

ChallengeResponseAuthentication no
UsePAM yes
PubkeyAuthentication no
PermitRootLogin no
PasswordAuthentication no
PidFile /run/sshd.pid

I have purged, edited, reinsalled, disabled, and I cannot for the life of me get this to stop.

Please help me. Pretty please?

hr flag
I'm not aware of anything in the *default* Ubuntu configuration that would cause this behavior - does the server perhaps have a cron job that is modifying the file?
αғsнιη avatar
cn flag
check your system's syslog messages
terdon avatar
cn flag
Please [edit] your question and add: i) your Ubuntu version and ii) what config file you are referring to.
Score:3
sv flag

So after months of craziness, I figured it out. The suggestion above to look at my cron jobs led me to my Jumpcloud managment agent. As this was a new Nix build only months ago, I forgot to enable the SSH settings in the agent. My sanity is saved. Thanks for the suggestions!!

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.