Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| computers:raspberry_pi_linux [2021/02/07 20:17] – [Linux Tips/Tricks] localadmin | computers:raspberry_pi_linux [2022/08/19 17:21] (current) – jon | ||
|---|---|---|---|
| Line 19: | Line 19: | ||
| ====== Linux Tips/Tricks ====== | ====== Linux Tips/Tricks ====== | ||
| + | |||
| + | ===== OS Upgrades ===== | ||
| + | |||
| + | apt update && upgrade | ||
| + | |||
| + | Modify all repos under / | ||
| + | |||
| + | Most should just need an OS release name change. Check specific apps resources, or just change it and see if it pulls on apt update. | ||
| + | |||
| + | After done, | ||
| + | |||
| + | apt update && upgrade | ||
| + | apt full-upgrade | ||
| + | |||
| + | ==== NetDisco ==== | ||
| + | |||
| + | Anytime OS gets major upgrade, will need to rebuild. See troubleshooting section on GitHub. | ||
| + | |||
| + | Remove ~/perl5 dir, run the installer, don’t copy the deploy yaml, run the deploy. Y to all. Start up services | ||
| ===== Public Key Authentication ===== | ===== Public Key Authentication ===== | ||
| - | Insert link here. | + | https://www.ssh.com/ |
| - | Main things | + | https:// |
| + | |||
| + | https:// | ||
| + | |||
| + | https:// | ||
| + | |||
| + | https:// | ||
| + | |||
| + | https:// | ||
| + | |||
| + | https:// | ||
| + | ==== Summary ==== | ||
| + | |||
| + | RSA-4096 and ED25519 are the only protocols to be using that are considered " | ||
| + | Get initial keys set up, then copy the other keys over using a master machine, or if starting from scratch, get as many keys on before turning off password auth | ||
| + | Public key goes into / | ||
| + | Run ssh-audit and find where you can improve | ||
| + | |||
| + | ==== macOS/ | ||
| Before you begin, on the home folder of each user you are going to remote into, run the following | Before you begin, on the home folder of each user you are going to remote into, run the following | ||
| Line 34: | Line 71: | ||
| *scp ~/ | *scp ~/ | ||
| *cat ~/ | *cat ~/ | ||
| + | |||
| + | ==== Windows ==== | ||
| + | |||
| + | https:// | ||