Jump to content

Remote reboot with ssh unresponsive


Recommended Posts

Posted

Hi,

 

Updated to 5.70 next on Opi pc and after 2 days I cant login via ssh and i get:

ssh_exchange_identification: Connection closed by remote host

Some times ssh login just hangs.

 

As I am not near the machine, is there any way to remotely reboot the Opi pc without ssh access?

 

ps: I am sure that the machine is working as wireguard is working fine and I can ping the machine as well as telnet port 22!

 

Posted
1 minute ago, lampra said:

as well as telnet port 22!

Euuh !  Telnet is usually on 23, and 22 is the SSH port ...

Do you have messed some configs ?

 

Posted
1 minute ago, martinayotte said:

Telnet is usually on 23, and 22 is the SSH port ..

No, i use telnet just to check that port 22 is open

Posted
7 minutes ago, lampra said:

is there any way to remotely reboot the Opi pc without ssh access?

No ! Except if you've have install Webadmin or something similar ...

Posted
1 minute ago, martinayotte said:

No ! Except if you've have install Webadmin or something similar ...

ok thank you.

By the way, On a similar installation on cubietruck I see that kernel sysrq(-trigger) is not present.

Do you know if this is the intended kernel build behaviour?

Posted
1 hour ago, lampra said:

Updated to 5.70 next on Opi pc and after 2 days I cant login via ssh and i get:


ssh_exchange_identification: Connection closed by remote host

Some times ssh login just hangs.

 

As I am not near the machine, is there any way to remotely reboot the Opi pc without ssh access?

 

Sort out the openssh problem - wonder if you're getting heavy bruteforce login attempts... the error you're getting suggests that openssh is actually running, but has run out of resources to service the connection request.

 

ufw limiting can help here, or twirl the knobs on iptables directly... and it doesn't hurt to run OpenSSH on an alternate port other than 22

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines