spcd/cd-init
2024-03-23 09:32:19 +01:00

14 lines
217 B
Text
Executable file

apt-get install --yes \
'rsync' \
'tree' \
mkdir --parents ~/.ssh
echo "${CD}" > ~/.ssh/id_ed25519
unset CD
chmod 400 ~/.ssh/id_ed25519
ssh \
-o StrictHostKeyChecking=accept-new \
'cd@de.tilde.link' \
-- \
hostname