drone ci ssh test
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
oDinZu 2022-05-10 18:36:20 -04:00
parent 5e4332ee91
commit 538c63e54a

View File

@ -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