Comments (9)
The /dev/tty message looks like an error, but it's actually perfectly normal.
Once ssh realizes it can't use /dev/tty, it should then use pssh-askpass.
Unfortunately, ssh isn't giving quite enough information to tell what is going
on. It sort of looks like it got a password and is trying to use it. Not to
belabor the obvious, but can I assume that you've tried doing "ssh
root@somehost" manually while typing in the same password?
Original comment by [email protected]
on 23 May 2011 at 6:06
from parallel-ssh.
I just added a commit that makes pssh-askpass more verbose. I think this will
help in tracking down your problem. Are you comfortable with getting the
latest commit from the git repository, or would you be more comfortable if I
were to provide you with a tarball?
Original comment by [email protected]
on 23 May 2011 at 6:24
from parallel-ssh.
Yeah, I can ssh as root to the host manually. I'll grab from git and give it a
shot. Thanks!
Original comment by [email protected]
on 23 May 2011 at 7:55
from parallel-ssh.
Hmm. I did a git clone, and then 'sudo python setup.py install', but it
complains:
> /usr/local/bin/pssh -x '-vvv' -O StrictHostKeyChecking=no -i -A -o pssh-out/
-e pssh-error/ -v -H root@somehost uptime
Traceback (most recent call last):
File "/usr/local/bin/pssh", line 24, in <module>
from psshlib.manager import Manager, FatalError
ImportError: No module named manager
Original comment by [email protected]
on 23 May 2011 at 8:22
from parallel-ssh.
Never mind. That was an error from me messing around with other installs.
Original comment by [email protected]
on 23 May 2011 at 8:58
from parallel-ssh.
Here's a snippet which shows the only new info from verbose pssh-askpass:
debug1: permanently_drop_suid: 1432711545
pssh-askpass received prompt: "Password:"
Password:
debug3: packet_send2: adding 32 (len 14 padlen 18 extra_pad 64)
debug1: Authentications that can continue:
publickey,gssapi-keyex,gssapi-with-mic,keyboard-interactive
debug2: we did not send a packet, disable method
debug1: No more authentication methods to try.
Permission denied (publickey,gssapi-keyex,gssapi-with-mic,keyboard-interactive).
Original comment by [email protected]
on 23 May 2011 at 9:01
from parallel-ssh.
I finally see what's happening. On my machine, the password prompt is
"Password: ", but on yours, it's "Password:" (without the trailing space). I
can easily make pssh work regardless of whether there's a trailing space, but I
would like to know the cause for the difference. I would hate to find that
there's some other value that the prompt might be that we're still missing.
Let me look into this.
Original comment by [email protected]
on 23 May 2011 at 10:31
- Changed state: Started
from parallel-ssh.
I've now pushed a fix, but I'm still worried that someone will come along with
a different prompt that doesn't work. :( Anyway, let me know if you have any
more trouble. Thanks for helping out with tracking this down.
Original comment by [email protected]
on 24 May 2011 at 2:27
- Changed state: Fixed
from parallel-ssh.
That worked great. Thanks!
Original comment by [email protected]
on 24 May 2011 at 3:11
from parallel-ssh.
Related Issues (20)
- API module to enable easier use of PSSH as a library (patch included)
- TypeError when using Input script
- Erorr Code 255
- Not allowing relative paths makes no sense HOT 3
- pslurp can't use rsync HOT 2
- Patch: pass -o SendEnv in a way that is friendly on Mac OS HOT 1
- How to distribute different files to different hosts? HOT 1
- motd being printed only on debian squeeze boxes HOT 4
- SIGINFO handler gives task status HOT 1
- Manpage name problem HOT 1
- Sudo requires allocation of a real pseudoterminal HOT 6
- Installation errors: "setup.py install" HOT 1
- pslurp multiple files HOT 1
- Bandwith limit with pscp (parallel scp) HOT 4
- Summary of failed and successful execution HOT 2
- Teardown code in test classes is never called
- IPv6 host address processing broken
- Allow '-' as an alias for stdin
- cannot parse for more than one -O/-o options; cannot use -i option
- Crash on Archlinux/Python3.4 when asking for password (Includes one line fix) HOT 1
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 parallel-ssh.