1回答
- 新しい順
- 投票が多い順
- コメントが多い順
1
Would it help to use the startup script described in the document "An OS-level firewall is blocking SSH port access"?
https://repost.aws/knowledge-center/lightsail-resolve-ssh-console-errors
Try setting up the following script when creating a snapshot of Lightsail and booting from the snapshot.
sudo ufw disable
sudo iptables -F
sudo mv /etc/hosts.deny /etc/hosts.deny_backup
sudo touch /etc/hosts.deny
sudo systemctl enable sshd
sudo systemctl restart sshd
関連するコンテンツ
- AWS公式更新しました 1年前
- AWS公式更新しました 1年前
Amazing, thank you this solved it. Everything is running fine as if nothing happened.