This commit is contained in:
parent
99081d159e
commit
3e2ab50eae
@ -54,7 +54,7 @@ steps:
|
|||||||
#- touch ~/.ssh/id_rsync_ed25519.pub
|
#- touch ~/.ssh/id_rsync_ed25519.pub
|
||||||
- ssh-keygen -t ed25519 -f ~/.ssh/id_rsync_ed25519 -N ''
|
- ssh-keygen -t ed25519 -f ~/.ssh/id_rsync_ed25519 -N ''
|
||||||
- cat ~/.ssh/id_rsa
|
- cat ~/.ssh/id_rsa
|
||||||
- chmod 600 ~/.ssh/id_rsa
|
- chmod 600 ~/.ssh/id_rsync_ed25519
|
||||||
- eval `ssh-agent -s`
|
- eval `ssh-agent -s`
|
||||||
- sshpass -vp $SERVER_PASS ssh-copy-id -i /root/.ssh/id_rsync_ed25519.pub odinzu@45.33.119.101
|
- sshpass -vp $SERVER_PASS ssh-copy-id -i /root/.ssh/id_rsync_ed25519.pub odinzu@45.33.119.101
|
||||||
#- touch ~/password.txt
|
#- touch ~/password.txt
|
||||||
|
Loading…
x
Reference in New Issue
Block a user