This commit is contained in:
Бурденко Алексей
2025-06-24 14:37:02 +03:00
parent 0b72328bd1
commit b97ea8c667
+2
View File
@@ -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}..." &&