Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/anthonybudd/secure-pi


https://github.com/anthonybudd/secure-pi

Last synced: 6 days ago
JSON representation

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 NAME

sudo pkill -u pi
sudo deluser pi

su - NAME
id NAME
```

### SSH
```
sudo nano /etc/ssh/sshd_config

PasswordAuthentication 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
```