This commit is contained in:
parent
751efd8b7d
commit
49a97164a4
|
@ -61,7 +61,7 @@ steps:
|
||||||
- echo "$SCP_KEY" > $HOME/.ssh/id_rsa
|
- echo "$SCP_KEY" > $HOME/.ssh/id_rsa
|
||||||
- ssh-keyscan -t rsa -p $SCP_PORT $SCP_HOSTNAME >> $HOME/.ssh/known_hosts
|
- ssh-keyscan -t rsa -p $SCP_PORT $SCP_HOSTNAME >> $HOME/.ssh/known_hosts
|
||||||
- chmod -R og-rw $HOME/.ssh/
|
- chmod -R og-rw $HOME/.ssh/
|
||||||
- scp -r -P $SCP_PORT -i $HOME/.ssh/id_rsa public/ $SCP_USER@$SCP_HOSTNAME:$SCP_TARGET_DIRECTORY
|
- scp -r -P $SCP_PORT -i $HOME/.ssh/id_rsa public/* $SCP_USER@$SCP_HOSTNAME:$SCP_TARGET_DIRECTORY
|
||||||
- ssh -p $SCP_PORT -i $HOME/.ssh/id_rsa $SCP_USER@$SCP_HOSTNAME '$SCP_COMMAND'
|
- ssh -p $SCP_PORT -i $HOME/.ssh/id_rsa $SCP_USER@$SCP_HOSTNAME '$SCP_COMMAND'
|
||||||
|
|
||||||
#- name: rereveille_toi
|
#- name: rereveille_toi
|
||||||
|
|
Loading…
Reference in a new issue