This commit is contained in:
parent
14c677d888
commit
cd3e05978f
@ -29,7 +29,7 @@ jobs:
|
||||
- name: init ssh
|
||||
run: |
|
||||
mkdir -p ~/.ssh
|
||||
echo "${{ secrets.PRIVKEY }}" | base64 -d > ~/.ssh/id_rsa
|
||||
echo "${{ secrets.PRIVKEY }}" | tr -d '\r' | base64 -d > ~/.ssh/id_rsa
|
||||
chmod 600 ~/.ssh/id_rsa
|
||||
ssh-keyscan -p 69 107.189.28.28 >> ~/.ssh/known_hosts
|
||||
echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config'
|
||||
|
Loading…
Reference in New Issue
Block a user