・FireWall
・Ubuntu
FW:ufw
https://gihyo.jp/admin/serial/01/ubuntu-recipe/0077
・Redhat系
FW:firewalld
・iptables
・Redhat系
・ログの確認
$ sudo tail -f /var/log/auth.log
Ubuntu
・sshd
$ sudo apt-get install openssh-server
$ sudo systemctl enable ssh
$ sudo systemctl start ssh
$ sudo systemctl status ssh