https://github.com/rajatnair/raspberry-pi-zero-scripts
Setup scripts for Raspberry Pi Zero
https://github.com/rajatnair/raspberry-pi-zero-scripts
Last synced: 3 months ago
JSON representation
Setup scripts for Raspberry Pi Zero
- Host: GitHub
- URL: https://github.com/rajatnair/raspberry-pi-zero-scripts
- Owner: RajatNair
- License: apache-2.0
- Created: 2019-11-01T12:38:35.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-03-15T16:29:25.000Z (about 5 years ago)
- Last Synced: 2025-01-15T20:42:43.148Z (4 months ago)
- Language: Shell
- Size: 11.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Collection of BASH scripts for Raspberry Pi Zero which will -
###### 1. Harden Raspbian
###### 2. Install scripts to setup specific softwares---
### Initial Setup
###### 1. SSH to odroid-ip:22 (Default username is _pi_ and password _raspberry_).
Additional info here - https://www.raspberrypi.org/documentation/remote-access/ssh/unix.md###### 2. Change pi password from default
###### 3. Change root user password from default
###### 3. Update Raspbian
###### 4. Change default SSH port and disable root login
```shell
## 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
```