spcd/cd-init

12 lines
174 B
Text
Raw Normal View History

2024-03-22 23:59:39 +00:00
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