This commit is contained in:
Marc Beninca 2024-03-23 01:14:45 +01:00
parent f0f09b2fb3
commit 6fb2a0cc90
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

11
cd-init Executable file
View file

@ -0,0 +1,11 @@
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