hacks/fix-raspian-defaults/setup-keys.sh

7 lines
183 B
Bash
Raw Normal View History

2019-10-04 12:26:33 +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