Skip to content

RajatNair/odroid-c2-scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Collection of BASH scripts for Odroid C2 which will -

1. Harden Ubuntu
2. Install scripts to setup specific softwares

Initial Setup

1. SSH to odroid-ip:22 (Default username and password - odroid)
2. Change odroid password from default
passwd odroid
3. Change root user password from default
sudo bash && passwd
3. Update C2
sudo apt-get update && sudo apt-get upgrade && sudo apt-get dist-upgrade
4. Change default SSH port and disable root login
## 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
5. Enable firewall
# 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

About

Initial setup scripts for Odroid C2

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages