spcd/cd-init
2024-03-23 01:14:45 +01:00

11 lines
174 B
Text
Executable file

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