Comments (3)
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.
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.
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)
- glob support HOT 1
- Hpn-ssh? HOT 3
- Possible to add Resume support? HOT 2
- Unable to parse IPv6 addresses HOT 2
- Configurable intervals between SSH connection attempts HOT 1
- Host runs out of memory resulting in mscp being killed HOT 7
- noclobber option HOT 7
- unable to transfer file between RHEL 7 and ubuntu using mscp HOT 6
- Static build will not resolve localhost HOT 5
- No match for method server host key algo HOT 2
- Add support to limit bandwidth HOT 4
- Proxyjump HOT 2
- Issue with resume transfer HOT 6
- Password needs to entered multiple times when resuming from a transfer HOT 2
- Characters in shell are invisible(?) after entering the passwords from resumed transfer HOT 2
- support for zstd compression HOT 1
- CLI documentation / usability / default values HOT 4
- Provide windows build HOT 1
- Prebuilt binary has very very very poor performance HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mscp.