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

Way to prompt for password? #134

Open
iron-man opened this issue Apr 6, 2016 · 1 comment
Open

Way to prompt for password? #134

iron-man opened this issue Apr 6, 2016 · 1 comment

Comments

@iron-man
Copy link

iron-man commented Apr 6, 2016

I've looked through all the documentation that I can find, but I can't figure out how to make the commandline prompt for a password, instead of storing it in a file, or passing it as an argument to the commandline.
I looked at the underlying ssh2 repo, and it looks like they have a 'keyboard-interactive' support, which would allow for the prompting of password, like regular ssh does. How can I do that for grunt-ssh?

@SteffenKoehler
Copy link

@iron-man Am I right. You want to start your deployment with e.g. "grunt deploy" and then the commandline should show something like "Enter password:"?
Then you type your password for the server and grunt-ssh will continue?
May you have a look at grunt-prompt.

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