3 個答案
- 最新
- 最多得票
- 最多評論
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
已回答 2 年前
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
已回答 2 年前
相關內容
- 已提問 1 年前
- 已提問 6 個月前
- 已提問 6 個月前
- AWS 官方已更新 7 個月前
- AWS 官方已更新 7 個月前
- AWS 官方已更新 2 年前
- AWS 官方已更新 1 年前
When I try using sudo /etc/init.d/sshd restart it says the command isn't found.