Fix: 使用正确的SSH密钥id_rsa
This commit is contained in:
@@ -16,7 +16,7 @@ jobs:
|
|||||||
- name: Setup SSH key
|
- name: Setup SSH key
|
||||||
run: |
|
run: |
|
||||||
mkdir -p ~/.ssh
|
mkdir -p ~/.ssh
|
||||||
cp /home/starmen1265/.ssh/id_rsa_kb_deploy ~/.ssh/id_rsa
|
cp /home/starmen1265/.ssh/id_rsa ~/.ssh/id_rsa
|
||||||
chmod 600 ~/.ssh/id_rsa
|
chmod 600 ~/.ssh/id_rsa
|
||||||
ssh-keyscan -H micecola.top >> ~/.ssh/known_hosts
|
ssh-keyscan -H micecola.top >> ~/.ssh/known_hosts
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user