Jump to content

Remote reboot with ssh unresponsive


lampra

Recommended Posts

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!

 

Link to comment
Share on other sites

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?

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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

Important Information

Terms of Use - Privacy Policy - Guidelines