hacks/rpi/setup-keys.sh

7 lines
183 B
Bash
Raw Normal View History

2019-03-21 06:40:37 +00:00
#!/bin/bash
KEY_URL="https://sneak.cloud/authorized_keys"
curl -fLo /root/.ssh/authorized_keys --create-dirs $KEY_URL
curl -fLo /home/pi/.ssh/authorized_keys --create-dirs $KEY_URL