fix: Remove ambigious chmod for directory
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
parent
8a083f992d
commit
b54f434cb2
|
@ -1,7 +1,6 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
mkdir -p /root/.ssh
|
mkdir -p /root/.ssh
|
||||||
chmod 0800 /root/.ssh
|
|
||||||
echo "${PLUGIN_SSH_KEY}" > "/root/.ssh/id_rsa"
|
echo "${PLUGIN_SSH_KEY}" > "/root/.ssh/id_rsa"
|
||||||
chmod 0600 /root/.ssh/id_rsa
|
chmod 0600 /root/.ssh/id_rsa
|
||||||
echo "${PLUGIN_SSH_KNOWN_HOSTS}" > "/root/.ssh/known_hosts"
|
echo "${PLUGIN_SSH_KNOWN_HOSTS}" > "/root/.ssh/known_hosts"
|
||||||
|
|
Loading…
Reference in a new issue