November 12, 20241 yr Hello, I was testing the spaceinvaderone ssh access tutorial in youtube and now I can not access ssh to my server. I can not access via command line to the folder /root/.ssh of my server If I access as root and try to cd /root/.ssh says "bash: cd: /root/.ssh: Not a directory" If I try to create a folder .ssh inside /root it says "mkdir: cannot create directory ‘.ssh’: File exists" The folder ssh in the usb flash exist (with several key files). If I remove all the keys and data, after enable ssh or reboot the sistem all the files apears there again. bkp-diegonas-diagnostics-20241112-0921.zip
November 12, 20241 yr Community Expert /root/.ssh is a pointer to /boot/config/ssh/root/ Edited November 12, 20241 yr by MowMdown
November 12, 20241 yr Author Thank you for answering. OK, I think I have removed the root folder in /boot/config/ssh/root What can I do in order to reactivate the ssh service? Is it possible to uninstall and intall again the ssh service in order to have a brand new configuration? Thank you Regards
November 12, 20241 yr Community Expert Nov 11 09:11:19 BKP-DiegoNas sshd[3327]: error: Bind to port 22 on 192.168.29.5 failed: Cannot assign requested address. Nov 11 09:11:19 BKP-DiegoNas sshd[3327]: fatal: Cannot bind any address. Reboot and post new diags, to see if this is a permanent error.
November 12, 20241 yr Community Expert It's still there, if removing the ssh folder from the flash drive didn't help, I would recommend recreating the flash drive, backup the current one first and then recreate it using the USB tool and just restore the bare minimum, like the key, super.dat and the pools folder for the assignments, also copy the docker user templates folder, if all works you can then reconfigure the server or try restoring a few config files at a time from the backup to see if you can find the culprit.
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.