This commit is contained in:
parent
5e4332ee91
commit
538c63e54a
@ -54,9 +54,10 @@ steps:
|
||||
#- touch ~/.ssh/id_rsync_ed25519.pub
|
||||
- ssh-keygen -t ed25519 -f ~/.ssh/id_rsync_ed25519 -N ''
|
||||
- cat ~/.ssh/id_rsync_ed25519
|
||||
- cat ~/.ssh/id_rsync_ed25519.pub
|
||||
- chmod 600 ~/.ssh/id_rsync_ed25519
|
||||
- eval `ssh-agent -s`
|
||||
- sshpass -vp $SERVER_PASS ssh-copy-id -i /root/.ssh/id_rsync_ed25519.pub odinzu@45.33.119.101
|
||||
- sshpass -e ssh-copy-id odinzu@45.33.119.101
|
||||
#- touch ~/password.txt
|
||||
#- echo -n $SERVER_PASS > ~/password.txt
|
||||
#- echo $SERVER_PASS
|
||||
|
Loading…
x
Reference in New Issue
Block a user