SSH Connection refused

Having issues with your DietPi installation, or, found a bug? Post it here.
Post Reply
Deleted User 7758

SSH Connection refused

Post by Deleted User 7758 »

So @Joulinar I try the new Buster image today on my Odroid HC1.
Spent a bit of time setting up the sata drive and some partitions and left it for a few hours.
Now i am locked out of SSH.

Code: Select all

ssh: connect to host 192.168.20.19 port 22: Connection refused
I can ping the Odroid

Code: Select all

jon@Jons-MacBook-Air:~$ ping 192.168.20.19
PING 192.168.20.19 (192.168.20.19): 56 data bytes
64 bytes from 192.168.20.19: icmp_seq=0 ttl=64 time=5.409 ms
I think I will go back to the stable image. Even in isolation I don't have this much time to waste
User avatar
Joulinar
Posts: 2083
Joined: Sat Nov 16, 2019 12:49 am

Re: SSH Connection refused

Post by Joulinar »

Hi,

did you reboot the system after SSH is not working anymore? After reboot, is it still same? Do you have direct access to the system (to check what happen) or just SSH?
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Deleted User 7758

Re: SSH Connection refused

Post by Deleted User 7758 »

I only have ssh. How do I reboot without access?
Just pull the power?
User avatar
Joulinar
Posts: 2083
Joined: Sat Nov 16, 2019 12:49 am

Re: SSH Connection refused

Post by Joulinar »

yes just unplug power. there is no other way
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
trendy
Posts: 125
Joined: Tue Feb 25, 2020 2:54 pm

Re: SSH Connection refused

Post by trendy »

If you have a keyboard attached to the device, you can try to Ctrl-Alt-Del for a more graceful restart.
Deleted User 7758

Re: SSH Connection refused

Post by Deleted User 7758 »

Thanks for the tip but I had already yanked the cord.
No ssh on reboot so I am starting over (again)
Post Reply