renaming key
This commit is contained in:
parent
a2155ee086
commit
1e974681f8
|
@ -25,13 +25,14 @@ jobs:
|
|||
run: |
|
||||
mkdir -p /root/.ssh/
|
||||
touch /root/.ssh/config
|
||||
echo $SSH_KEY > /root/.ssh/id_stage
|
||||
chmod 600 /root/.ssh/id_stage
|
||||
echo $SSH_KEY > /root/.ssh/id_rsa
|
||||
chmod 600 /root/.ssh/id_rsa
|
||||
|
||||
cat >> /root/.ssh/config <<END
|
||||
Host staging
|
||||
HostName $SSH_HOST
|
||||
User $SSH_USER
|
||||
IdentityFile /root/.ssh/id_stage
|
||||
IdentityFile /root/.ssh/id_rsa
|
||||
StrictHostKeyChecking no
|
||||
END
|
||||
env:
|
||||
|
|
Loading…
Reference in New Issue