init
This commit is contained in:
parent
f0f09b2fb3
commit
6fb2a0cc90
1 changed files with 0 additions and 0 deletions
11
cd-init
Executable file
11
cd-init
Executable 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
|
Loading…
Add table
Add a link
Reference in a new issue