This commit is contained in:
parent
f35b8c4da7
commit
2ee93504e2
@ -57,7 +57,8 @@ steps:
|
|||||||
- cat ~/.ssh/id_rsync_ed25519.pub
|
- cat ~/.ssh/id_rsync_ed25519.pub
|
||||||
- chmod 600 ~/.ssh/id_rsync_ed25519
|
- chmod 600 ~/.ssh/id_rsync_ed25519
|
||||||
- eval `ssh-agent -s`
|
- eval `ssh-agent -s`
|
||||||
- SSHPASS=$SSHPASS sshpass -o StrictHostKeyChecking=no -ev ssh-copy-id $SSH_USER@$SSH_HOST
|
- export StrictHostKeyChecking=no
|
||||||
|
- SSHPASS=$SSHPASS sshpass -ev ssh-copy-id $SSH_USER@$SSH_HOST
|
||||||
- yes
|
- yes
|
||||||
#- touch ~/password.txt
|
#- touch ~/password.txt
|
||||||
#- echo -n $SERVER_PASS > ~/password.txt
|
#- echo -n $SERVER_PASS > ~/password.txt
|
||||||
|
Loading…
x
Reference in New Issue
Block a user