Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/anthonybudd/secure-pi
https://github.com/anthonybudd/secure-pi
Last synced: 6 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/anthonybudd/secure-pi
- Owner: anthonybudd
- Created: 2021-08-29T17:45:39.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2023-01-08T00:04:03.000Z (almost 2 years ago)
- Last Synced: 2024-11-07T16:12:03.550Z (about 2 months ago)
- Size: 3.91 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: ReadMe.md
Awesome Lists containing this project
README
# Secure Pi
My personal notes on securing a Raspberry Pi.
### Delete Pi User
```
sudo useradd -m -s /bin/bash NAME
sudo passwd NAME
sudo usermod -aG sudo NAMEsudo pkill -u pi
sudo deluser pisu - NAME
id NAME
```### SSH
```
sudo nano /etc/ssh/sshd_configPasswordAuthentication no
ChallengeResponseAuthentication no
UsePAM no
PermitRootLogin no
PermitRootLogin prohibit-password/etc/init.d/ssh reload
```### Disable Wifi and Bluetooth
```
sudo nano /boot/config.txt
dtoverlay=disable-wifi
dtoverlay=disable-bt
```### Useful Comands
```
ssh-copy-id @
ssh-keygen -R 192.168.1.90
```