passwd odroid
sudo bash && passwd
sudo apt-get update && sudo apt-get upgrade && sudo apt-get dist-upgrade
## Lockdown - changing default ports
sudo nano /etc/ssh/sshd_config
## Disable root login
PermitRootLogin no
## Change default SSH port to any random port (eg. 2230)
Port 2230
## Lockdown - Firewall
sudo ufw limit ssh/tcp
sudo ufw allow 2230/tcp
sudo systemctl reload sshd
# Allow Incoming SSH from Specific IP Address or Subnet
sudo ufw allow from 192.168.0.0/16 to any port 2230
sudo ufw limit 2230/tcp comment 'SSH port'
sudo ufw enable && sudo ufw status