This commit is contained in:
parent
49d1ad3802
commit
f806c0ae04
@ -55,7 +55,10 @@ steps:
|
||||
- ssh-keygen -t ed25519 -f ~/.ssh/id_rsa -N ''
|
||||
- cat ~/.ssh/id_rsa.pub
|
||||
- echo -n $SERVER_PASS > ~/password.txt
|
||||
- sshpass -fv ~/password.txt ssh-copy-id -i ~/.ssh/id_rsa.pub odinzu@45.33.119.101
|
||||
- touch ~/password.txt
|
||||
- echo $SERVER_PASS
|
||||
- cat ~/password.txt
|
||||
- sshpass -fv "~/password.txt" ssh-copy-id -i ~/.ssh/id_rsa.pub odinzu@45.33.119.101
|
||||
#- mkdir -p ~/.ssh/
|
||||
#- touch ~/.ssh/id_rsa
|
||||
#- touch ~/.ssh/id_rsa.pub
|
||||
|
Loading…
x
Reference in New Issue
Block a user