diff options
| author | toufic ar <contact@toufy.me> | 2026-06-23 02:05:05 +0300 |
|---|---|---|
| committer | toufic ar <contact@toufy.me> | 2026-06-23 02:05:05 +0300 |
| commit | bc7189651993fc905b1a5cdd0a4cd69dba783cb3 (patch) | |
| tree | 2f16d7f68207793c5390ad1f19ee891db69d123b /ssh_setup.sh | |
| parent | 883b6398a50e3c34cdc95b870748a458c0cbbaab (diff) | |
| download | servers-bc7189651993fc905b1a5cdd0a4cd69dba783cb3.tar.gz servers-bc7189651993fc905b1a5cdd0a4cd69dba783cb3.zip | |
add msci
Diffstat (limited to 'ssh_setup.sh')
| -rwxr-xr-x | ssh_setup.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/ssh_setup.sh b/ssh_setup.sh new file mode 100755 index 0000000..fdb7172 --- /dev/null +++ b/ssh_setup.sh @@ -0,0 +1,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 |
