This commit is contained in:
parent
211c5f49a7
commit
67c2bd982d
@ -57,7 +57,7 @@ steps:
|
|||||||
- chmod 600 ~/.ssh/id_rsync_ed25519
|
- chmod 600 ~/.ssh/id_rsync_ed25519
|
||||||
- eval `ssh-agent -s`
|
- eval `ssh-agent -s`
|
||||||
- echo cat $NO_HOSTKEY >> /etc/ssh/user_config
|
- echo cat $NO_HOSTKEY >> /etc/ssh/user_config
|
||||||
- service ssh reload
|
- systemctl restart ssh.service
|
||||||
- SSHPASS=$SERVER_PASS sshpass -ev ssh-copy-id $SSH_USER@$SSH_HOST
|
- SSHPASS=$SERVER_PASS sshpass -ev ssh-copy-id $SSH_USER@$SSH_HOST
|
||||||
#- 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