This commit is contained in:
parent
04fa6571ce
commit
719692671c
@ -66,7 +66,7 @@ steps:
|
|||||||
|
|
||||||
# write the ssh key to disk for rsync handshake to remote server
|
# write the ssh key to disk for rsync handshake to remote server
|
||||||
- mkdir -p /root/.ssh/ && touch /root/.ssh/id_rsa && touch /root/.ssh/id_rsa.pub
|
- mkdir -p /root/.ssh/ && touch /root/.ssh/id_rsa && touch /root/.ssh/id_rsa.pub
|
||||||
#- echo -n "$RSA_KEY" > /root/.ssh/id_rsa
|
- echo -n "$RSA_KEY" > /root/.ssh/id_rsa
|
||||||
- echo -n "$RSA_PUB_KEY" > /root/.ssh/id_rsa.pub
|
- echo -n "$RSA_PUB_KEY" > /root/.ssh/id_rsa.pub
|
||||||
- chmod 600 /root/.ssh/id_rsa && chmod 600 /root/.ssh/id_rsa.pub
|
- chmod 600 /root/.ssh/id_rsa && chmod 600 /root/.ssh/id_rsa.pub
|
||||||
- ls -al /root/.ssh/ && ls /home/
|
- ls -al /root/.ssh/ && ls /home/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user