This commit is contained in:
parent
ce70670569
commit
53aa886c01
@ -68,11 +68,12 @@ steps:
|
||||
- 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_PUB_KEY" > /root/.ssh/id_rsa.pub
|
||||
- cp /root/.ssh/id_rsa.pub /root/.ssh/authorized_keys
|
||||
- chmod 600 /root/.ssh/id_rsa && chmod 600 /root/.ssh/id_rsa.pub
|
||||
- ls -al /root/.ssh/ && ls /
|
||||
- eval `ssh-agent -s`
|
||||
#- ssh-add /root/.ssh/id_rsa
|
||||
- cp /root/.ssh/id_rsa.pub /root/.ssh/authorized_keys
|
||||
|
||||
|
||||
# add git.sharpetronics.com to known hosts
|
||||
- touch /root/.ssh/known_hosts
|
||||
|
Loading…
x
Reference in New Issue
Block a user