mirror of
https://github.com/webfactory/ssh-agent.git
synced 2026-03-20 01:59:07 +08:00
Use IdentitiesOnly=no
This commit is contained in:
1
.github/workflows/demo.yml
vendored
1
.github/workflows/demo.yml
vendored
@@ -58,6 +58,7 @@ jobs:
|
||||
${{ secrets.MPDUDE_TEST_1_DEPLOY_KEY }}
|
||||
${{ secrets.MPDUDE_TEST_2_DEPLOY_KEY }}
|
||||
- run: |
|
||||
ssh-add -l
|
||||
cat ~/.ssh/config
|
||||
ls -alh ~/.ssh
|
||||
git clone git@github.com:mpdude/test-2.git test-2-git
|
||||
|
||||
2
dist/index.js
vendored
2
dist/index.js
vendored
@@ -215,7 +215,7 @@ try {
|
||||
let sshConfig = `\nHost key-${keyNumber}\n`
|
||||
+ ` HostName github.com\n`
|
||||
+ ` User git\n`
|
||||
+ ` IdentitiesOnly yes\n`
|
||||
+ ` IdentitiesOnly no\n`
|
||||
+ ` IdentityFile ${keyFile}\n`;
|
||||
|
||||
fs.appendFileSync(`${homeSsh}/config`, sshConfig);
|
||||
|
||||
Reference in New Issue
Block a user