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