Fiservedpi Posted February 5, 2020 Share Posted February 5, 2020 (edited) I borked some setting and can no longer SSH into my server I think it may have to do with the allowedhosts.conf But I can no longer get to /mnt any ideas on how to reset all ssh settings. Ssh plugin special port selected Getting connection refused error every which way I try I can use the terminal via the GUI i think I can edit the allowed hosts there, does anyone know the exact path to it Edited February 5, 2020 by Fiservedpi Quote Link to comment
PeteAsking Posted February 5, 2020 Share Posted February 5, 2020 (edited) There isnt one by default so unless you installed a plugin or something there would not be one. You can check /etc/ssh for files in there if you want. You can find using this command other directories to check (ignore any docker containers). find / -name ssh -type d eg: on my system the find command (ignoring dockers) found this: /etc/ssh /boot/config/ssh Edited February 5, 2020 by PeteAsking Quote Link to comment
bonienl Posted February 5, 2020 Share Posted February 5, 2020 You can delete the folder /config/ssh on your USB device. Reboot your system and fresh ssh keys are generated, which should allow you to login again. 1 Quote Link to comment
Fiservedpi Posted February 5, 2020 Author Share Posted February 5, 2020 awesome ty folks ive been beating my head against the wall over this Quote Link to comment
PeteAsking Posted February 5, 2020 Share Posted February 5, 2020 Well what was the answer? You going to post so others can be helped if they have the same issue? 1 Quote Link to comment
Fiservedpi Posted February 5, 2020 Author Share Posted February 5, 2020 (edited) Sure will do at work right now quick question how would I access the/boot/config the GUI terminal? cd /boot/config rm -r ssh Make sure the doc mcguyver ssh plugin is not installed Reboot Võila Edited February 5, 2020 by Fiservedpi I'M IN!!! Quote Link to comment
Recommended Posts
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.