Disable/Manage Ubuntu firewall
---------------------------------------
# sudo ufw disable
or
# sudo ufw enable
# sudo ufw allow 22
---------------------------------------
Install Ubuntu Desktop(Unity)
---------------------------------------
# sudo apt-get install ubuntu-desktop
---------------------------------------
Install ssh
---------------------------------------
# sudo apt-get install openssh-server
Permit Root Access
# sudo vim /etc/ssh/sshd_config
- Edit below
PermitRootLogin prohibit-password
Approve: Yes
Deny: No
Deny if use ID and Pwd: prohibit-password
(Approve if public key)
# sudo service ssh restart
---------------------------------------
반응형