Giter VIP home page Giter VIP logo

Comments (6)

stevie- avatar stevie- commented on August 28, 2024 2

To work around the host-key verification problem you could add

ssh -T -oStrictHostKeyChecking=accept-new [email protected] || true
git clone [email protected]:zhulinpinyu/sf.git

to your run code.

from ssh-agent.

manivel-nagarajan avatar manivel-nagarajan commented on August 28, 2024

I'm also facing the same issue.

I'm trying to do 'pod install' which clones from private repo.

from ssh-agent.

Ventals avatar Ventals commented on August 28, 2024

Not working yet

from ssh-agent.

manivel-nagarajan avatar manivel-nagarajan commented on August 28, 2024

I had the same problem then I've found the cause and fixed it.

  1. Have you added SSH_PRIVATE_KEY into your GitHub secrets? Remember, SSH_PRIVATE_KEY is not a default available key in GitHub secrets. You have to manually create one.
  2. If you haven't created one, please add a secret with the name SSH_PRIVATE_KEY and with your private key as value - Learn how to create Secrets in GitHub.
  3. If you don't have the private key, you have to create one using ssh-keygen. It is recommended to use a separate git account(machine user) for the remote usages. - Learn How to generate SSH Key.
  4. You have to authorize the SSH key in the GitHub SSH page using the public key you generated.

Once you're done with the mentioned steps, your script should work as expected.

I hope this helps!

from ssh-agent.

mpdude avatar mpdude commented on August 28, 2024

Please follow @manivel-nagarajan's good advice above.

Also, could you provide the full output from the action run so we can see if the action indeed tried to start the ssh-agent and set up the keys?

from ssh-agent.

zhulinpinyu avatar zhulinpinyu commented on August 28, 2024

@stevie- Great, Thank you very much ❤️

from ssh-agent.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.