February 7Feb 7 A few years ago, i was mucking around with ssh on unRAID (not via a VM). I knew enough to be dangerous, not enough to be smart. I'm not so dangerous now, but also not so smart still 😁I'm doing a little maintenance and i've noticed that i have some legacy ssh configs that were manually modified (not via the gui), i was also using the "SSH and Denyhosts" plugin to enable multi-user ssh entry (disable root, enable a different user). I'd like to reset everything so it was like it was ootb. I think i deleted the keypair some time ago, but i didn't "reset" the configs and now i wouldn't know what the defaults be - so i don't know what exactly to 'fix'.Are these the only places to look/cleanup?/boot/config/ssh (ssh_config, and ssh keypairs)/etc/ssh/ (sshd_config manually edited. And keypairs)/root/.ssh/known_hosts (symlink > `/boot/config/ssh/root/.ssh` pretty sure i can just delete this file)Can i just delete sshd_config and keypairs? Will re-generate if i re/start ssh via the gui?Thanks 🙂
February 7Feb 7 Community Expert Solution If you delete everything in /boot/config/ssh and then reboot, it should return to stock.
February 8Feb 8 Author My SSH was turned off, so after reboot nothing new appeared. I started SSH and it plonked a bunch of keypairs.Looks like default to me 🙂 Thanks!
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.