This commit is contained in:
Marc Beninca 2024-03-23 00:59:39 +01:00
parent 77d9cd1915
commit 4ee73188e3
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F
2 changed files with 11 additions and 11 deletions

11
cd-set-ssh 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