summaryrefslogtreecommitdiff
path: root/ssh_setup.sh
blob: fdb7172449fc91d96f2ee168460b8af6478015c2 (plain) (blame)
1
2
3
4
5
6
7
8
#!/usr/bin/env bash

mkdir -p ~/.ssh
chmod -R 755 ~/.ssh
cp "$SECRET_SSH" ~/.ssh/id_ed25519
chmod 600 ~/.ssh/id_ed25519
echo "aphrodite.toufy.me adonis.toufy.me" |
	xargs ssh-keyscan >~/.ssh/known_hosts