This commit is contained in:
parent
866b7352f2
commit
7dd4816735
@ -43,6 +43,7 @@ steps:
|
||||
- ls /
|
||||
- ls /home
|
||||
- ls /root
|
||||
- less /etc/passwd
|
||||
- git --version && git status
|
||||
|
||||
# add dependencies to tmp vm machine
|
||||
@ -72,13 +73,13 @@ 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
|
||||
- echo -nv $RSA_KEY > /root/.ssh/id_rsa
|
||||
- echo -nv $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
|
||||
- eval `ssh-agent -s`
|
||||
#- ssh-add /root/.ssh/id_rsa
|
||||
- ssh-add /root/.ssh/id_rsa
|
||||
- ls -al /root/.ssh/
|
||||
|
||||
# add git.sharpetronics.com to known hosts
|
||||
|
Loading…
x
Reference in New Issue
Block a user