test
This commit is contained in:
@@ -8,6 +8,7 @@
|
|||||||
- which ssh-agent || (apt-get update -y && apt-get install openssh-client -y)
|
- which ssh-agent || (apt-get update -y && apt-get install openssh-client -y)
|
||||||
- eval $(ssh-agent -s)
|
- eval $(ssh-agent -s)
|
||||||
- mkdir -p ~/.ssh
|
- mkdir -p ~/.ssh
|
||||||
|
- pwd
|
||||||
- echo -n "$TECH_SSH_KEY" | base64 -d > ~/.ssh/id_rsa
|
- echo -n "$TECH_SSH_KEY" | base64 -d > ~/.ssh/id_rsa
|
||||||
- chmod 700 ~/.ssh
|
- chmod 700 ~/.ssh
|
||||||
- chmod 600 ~/.ssh/id_rsa
|
- chmod 600 ~/.ssh/id_rsa
|
||||||
@@ -28,6 +29,7 @@
|
|||||||
# - chmod 644 ~/.ssh/known_hosts
|
# - chmod 644 ~/.ssh/known_hosts
|
||||||
- chmod -R 400 ~/.ssh
|
- chmod -R 400 ~/.ssh
|
||||||
script:
|
script:
|
||||||
|
- pwd
|
||||||
- >
|
- >
|
||||||
for stand in $STANDS; do
|
for stand in $STANDS; do
|
||||||
echo -e "Connect to ${stand}..." &&
|
echo -e "Connect to ${stand}..." &&
|
||||||
|
|||||||
Reference in New Issue
Block a user