Giter VIP home page Giter VIP logo

Comments (9)

jlund avatar jlund commented on August 17, 2024

This appears to be a new API change that DigitalOcean made today where they no longer allow you to have two SSH keys with the same contents under the same account. So you can't have a 'Josh' SSH key and a 'streisand' SSH key that are identical anymore. This was working perfectly when I did a test run last night. The workaround for now would be to remove the other matching key before executing the script so that Streisand can create one through the API.

I will come up with a better solution.

from streisand.

jlund avatar jlund commented on August 17, 2024

OK, that should take care of it. Give it a shot and let me know if it works for you. Thanks for reporting the problem!

from streisand.

davidcelis avatar davidcelis commented on August 17, 2024

Well, it didn't end up working because I already had my id_rsa.pub uploaded. I deleted it from DO and once Streisand finished setting up, renamed it back to what I had named it before. I think it would be helpful to let us generate a new SSH key with its own name that gets uploaded to remove that confusion. Thanks though!

from streisand.

 avatar commented on August 17, 2024

streisand asks for a name to be given for the key which defaults to streisand. So when you already have a key in ~/.ssh you can name it whatever you want during the setup and/or match it to the corresponding name you set at DO in the first place. streisand checks if the ssh key is already present at DO. If it finds the same key with the matching name, streisand should proceed without complaints. This is what I have experienced.

from streisand.

davidcelis avatar davidcelis commented on August 17, 2024

Ahh. I guess the instructions were just a bit confusing. I didn't realize they were talking about the name assigned to the SSH Key on digital ocean itself; I thought it meant the filename of the key locally.

from streisand.

 avatar commented on August 17, 2024

The default name streisand is a bit to short for acting as file path/name, don't you think? ;) But it first came to my mind too when I saw the added streisand key in DO.

from streisand.

davidcelis avatar davidcelis commented on August 17, 2024

Could've been short-hand for ~/.ssh/streisand ;)

Anyway, working fine now.

from streisand.

jlund avatar jlund commented on August 17, 2024

@davidcelis I just pushed an update to the way that prompt was phrased that should hopefully make it less confusing. Let me know if you have any other suggestions. I would like to make this as seamless as possible and I really appreciate your feedback.

from streisand.

davidcelis avatar davidcelis commented on August 17, 2024

Yeah, that current prompt is good! Thanks @jlund! 👍

from streisand.

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.