Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Usage Example on Travis-CI #2

Closed
nelsonic opened this issue May 26, 2018 · 2 comments
Closed

Usage Example on Travis-CI #2

nelsonic opened this issue May 26, 2018 · 2 comments

Comments

@nelsonic
Copy link

Hi @clarkwang! ☀️
I am attempting to use passh to input the password for an RSA key on Travis-CI.
The passh.c compiles successfully, but when I try to use passh in an ssh command,
it still asks me for the password! 😞
please see: https://travis-ci.org/nelsonic/hello-world-node-http-server/builds/384184242#L458
image

The password for the SSH key is loaded as an environment variable SSH_ASKPASS
but for some reason it is not being "piped" into the ssh command.

What am I doing wrong?

Any help much appreciated. (thanks!)

@clarkwang
Copy link
Owner

passh's default password prompt is [Pp]assword: \{0,1\}$, you need to specify your real prompt. E.g.: passh -P 'Enter passphrase for key.*:'.

@nelsonic
Copy link
Author

@clarkwang thanks! I will try it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants