computers:raspberry_pi_linux

This is an old revision of the document!


Raspberry Pi

The Raspberry Pi is a remarkable piece of technology that enabled a whole slew of budget-friendly projects and allowed people to get extremely clever without having to break the bank.

Linux Tips/Tricks

RSA-4096 and ED25519 are the only protocols to be using that are considered “secure” currently. 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 /home/user/.ssh/authorized_keys . Do this for each user you want to sign in as. Ideally, stick to one and sign in to other user after sign in (su - user) Run ssh-audit and find where you can improve

Before you begin, on the home folder of each user you are going to remote into, run the following

  • ssh-keygen -t rsa
  • ssh-copy-id -i ~/.ssh/id.rsa.pub user@remoteserver
    • above may not work depending on your setup. It will most backend work for you
  • If the above does not work:
    • scp ~/.ssh/id_rsa.pub user@remoteserver:~
    • cat ~/id_rsa.pub » ~/.ssh/authorized_keys
  • computers/raspberry_pi_linux.1612997525.txt.gz
  • Last modified: 2021/02/10 22:52
  • by localadmin