Giter VIP home page Giter VIP logo

Comments (7)

progrium avatar progrium commented on June 23, 2024

I think that's because you aren't provide a user to ssh, so it would normally prompt you for one, but because it's not an interactive terminal, it can't. So you have to provide your programs with enough information or with the right options so they don't need to ask for input like that.

from gitreceive.

azhang avatar azhang commented on June 23, 2024

sorry, it was hidden because I accidentally used < and >. The issue is that it wants to ask for sudo password, but can't. I just wanted to point this out because this command is in the main readme.

from gitreceive.

progrium avatar progrium commented on June 23, 2024

Oh I see! Yes, that's problematic.

from gitreceive.

 avatar commented on June 23, 2024

Hmm; I can't think of a good way to fix this - I don't encounter this as I'm using passwordless sudo. Perhaps we could document around it or encourage use of a user with access to ~git/.ssh/authorized_keys?

from gitreceive.

progrium avatar progrium commented on June 23, 2024

Maybe the init command can ensure authorized_keys gives global write permissions?

from gitreceive.

 avatar commented on June 23, 2024

In the context of dokku any user on the system is able to manipulate containers using docker so I can't see a downside right now to adding global write to ~git/.ssh/authorized_keys.

We would also have to update documentation across the repositories by removing the sudo or ssh root@ recommendation for the upload-key sub-command.

from gitreceive.

azhang avatar azhang commented on June 23, 2024

ah, thanks for the quick responses everyone!

from gitreceive.

Related Issues (19)

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.