ssh
This commit is contained in:
parent
77d9cd1915
commit
4ee73188e3
2 changed files with 11 additions and 11 deletions
11
cd-set-ssh
Executable file
11
cd-set-ssh
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