GithubHelp home page GithubHelp logo

Comments (3)

upa avatar upa commented on May 27, 2024

Hi,

Thank you for using mscp!

sshpass doesn't work with mscp. sshpass intercepts in/out via tty because ssh does so. On the other hand, mscp's password prompt and input are through stdout and stdin. Please refer to Answer in this stack exchange post.

Anyway, I understand your use case. If mscp is capable of receiving password via an environment variable, would your needs be satisified? If so, I will add such a capability.

from mscp.

gerbenvoshol avatar gerbenvoshol commented on May 27, 2024

Thanks for your speedy reply! Definitely an environmental variable would work for us. Since passh also works as an alternative to sshpass the need for this option is not as high as say a resume option.

Thanks for all the great work!

from mscp.

upa avatar upa commented on May 27, 2024

Two env vars, MSCP_SSH_AUTH_PASSWORD and MSCP_SSH_AUTH_PASSPHRASE are added to pass a password for password auth and a passphrase for public key auth. New version v0.1.4 including this feature is released at Github, PPA, COPR, and homebrew.

from mscp.

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.