question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

EEXIST: file already exists, open 'C:\Windows\ServiceProfiles\NetworkService\.ssh\id_rsa

See original GitHub issue

Works great! However on the second attempt to run my workflow I get this error

EEXIST: file already exists, open 'C:\Windows\ServiceProfiles\NetworkService\.ssh\id_rsa

Are there any work arounds for this issue?

Thanks!

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
shimatarocommented, Mar 7, 2021

Hi, I added if_key_exists parameter on feature/if_key_exists branch.

You can test it by using shimataro/ssh-key-action@feature/if_key_exists.

runs-on: ubuntu-latest
steps:
- name: Install SSH key
  uses: shimataro/ssh-key-action@feature/if_key_exists
  with:
    key: ${{ secrets.SSH_KEY }}
    known_hosts: ${{ secrets.KNOWN_HOSTS }}
    if_key_exists: replace # replace / ignore / fail; optional (defaults to fail)
0reactions
shimatarocommented, Mar 21, 2021

v2.3.0 has been released, now if_key_exists option is available! closing.

Read more comments on GitHub >

github_iconTop Results From Across the Web

npm error on every command: EEXIST: file already exists ...
Open cmd and cd to the extracted folder. Run nodevars.bat . It will set PATH and other things so you can now use...
Read more >
[BUG] Getting constant `EEXIST: file already exists, open 'C ...
When trying to install packages, with a previous cache present, we get constant cache collisions when trying to install packages, both locally and...
Read more >
TypeScript: file already exists, symlink & tsc command not ...
A quick note to gather the solution for solving "file already exists, symlink" and "tsc command not found".
Read more >
Solved EEXIST file already exists - Cloudron Forum
Hi, The last two security updates went fine except that my NextCloud instance gave an error both times. The first time I got...
Read more >
ERROR running force:auth:jwt:grant: EEXIST: file a...
ERROR running force:auth:jwt:grant: EEXIST: file already exists, ... RUN apk add --update --no-cache git openssh ca-certificates openssl ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found