diff --git a/cd-set-ssh b/cd-set-ssh new file mode 100755 index 0000000..4e485e7 --- /dev/null +++ b/cd-set-ssh @@ -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 diff --git a/cd-synchronize-output b/cd-synchronize-output index f58e44b..86ca39a 100755 --- a/cd-synchronize-output +++ b/cd-synchronize-output @@ -1,16 +1,5 @@ apt-get install --yes 'rsync' -mkdir --parents ~/.ssh -echo '${{secrets.cd}}' > ~/.ssh/id_ed25519 -chmod 400 ~/.ssh/id_ed25519 -ls -al ~/.ssh - -ssh \ --o StrictHostKeyChecking=accept-new \ -'cd@de.tilde.link' \ --- \ -hostname - rsync \ --archive \ --delete-before \