3 Risposte
- Più recenti
- Maggior numero di voti
- Maggior numero di commenti
0
Hello
I think it may the issue of your network , You can SSH into the machine and the following,
vi /etc/ssh/sshd_config
updated the values
ClientAliveInterval 60
ClientAliveCountMax 3
sudo /etc/init.d/sshd restart
let me know if you still have issues
con risposta 2 anni fa
0
Are you using ubuntu or debian based server?
Try this command:
sudo systemctl restart sshd
and then check the status of SSH daemon with:
sudo systemctl status sshd
it should display green dot and look for any error in the logs. Hope it helps
con risposta 2 anni fa
0
I've fixed it myself, I just restarted the instance and waited a few hours.
con risposta 2 anni fa
Contenuto pertinente
- AWS UFFICIALEAggiornata 7 mesi fa
- AWS UFFICIALEAggiornata 2 anni fa
- In che modo posso risolvere i problemi di connessione alla mia istanza Linux Amazon EC2 tramite SSH?AWS UFFICIALEAggiornata un anno fa
- AWS UFFICIALEAggiornata 2 anni fa
When I try using sudo /etc/init.d/sshd restart it says the command isn't found.