[Solved] SSH troubles: Connection refused
Posted: 2024-12-24 14:07
Hello everyone,
First of all, thank you for accepting my account to join the community. I’m looking forward to all I can learn through it. I use Debian and code as a hobby. I am a beginner. My goals are to create my own home server in order to hold and share data for my personal and professional use. I would like to be able to evolve as I learn and be able to even host my own website but it all depends on the complexity and time invested. So thank you in advanced to all you who share your experiences and knowledge to help me progress in my endeavors!
Today I have installed Debian 12 using an old computer that I had lying around. For now the processor and memory is all bare minimum, but I will be upgrading in the near future. More details will be shared in the future of my setup, for now I’d just like to resolve my SSH connection issues.
After a fresh install following the careful instructions found on YouTube, I successfully setup and connected to my server via SSH with key. I was having no trouble until I installed UFW on my own in hopes to increase security. We I carefully configured to allow the custom port i had set up during the hardening process, but now I can no longer connect through SSH.
I’ve checked all statuses, restarted, I even disabled my UFW in hopes of tracing back my steps to when things were working properly, but it seems irreversible. I’ve looked up many troubleshoots and have tried checking all I could find but to no avail. I know I must be missing something, perhaps something overly simple (besides typing in the wrong user or address, I’ve double checked a dozen times).
I’m also probably forgetting to include important information that you all may need to help me solve my problem, sorry in advance. Please just let me know and I’ll include whatever information is missing.
Anyone have some ideas to share? I’ve gone through every test I could find on the internet to get back up and running. Please share your thoughts!
Thanks!
First of all, thank you for accepting my account to join the community. I’m looking forward to all I can learn through it. I use Debian and code as a hobby. I am a beginner. My goals are to create my own home server in order to hold and share data for my personal and professional use. I would like to be able to evolve as I learn and be able to even host my own website but it all depends on the complexity and time invested. So thank you in advanced to all you who share your experiences and knowledge to help me progress in my endeavors!
Today I have installed Debian 12 using an old computer that I had lying around. For now the processor and memory is all bare minimum, but I will be upgrading in the near future. More details will be shared in the future of my setup, for now I’d just like to resolve my SSH connection issues.
After a fresh install following the careful instructions found on YouTube, I successfully setup and connected to my server via SSH with key. I was having no trouble until I installed UFW on my own in hopes to increase security. We I carefully configured to allow the custom port i had set up during the hardening process, but now I can no longer connect through SSH.
I’ve checked all statuses, restarted, I even disabled my UFW in hopes of tracing back my steps to when things were working properly, but it seems irreversible. I’ve looked up many troubleshoots and have tried checking all I could find but to no avail. I know I must be missing something, perhaps something overly simple (besides typing in the wrong user or address, I’ve double checked a dozen times).
I’m also probably forgetting to include important information that you all may need to help me solve my problem, sorry in advance. Please just let me know and I’ll include whatever information is missing.
Anyone have some ideas to share? I’ve gone through every test I could find on the internet to get back up and running. Please share your thoughts!
Thanks!