git-deploy icon indicating copy to clipboard operation
git-deploy copied to clipboard

SSH Passwords Show

Open theNerd247 opened this issue 10 years ago • 7 comments

Is there a way to make the passwords invisible when inputting them upon request? When I run git deploy it requests my SSH password, however when I type it in it displays it on the terminal which is a slight security issue.

The solution may be a personal terminal config, however I doubt it as this is the only program I've ever installed that does this.

theNerd247 avatar Sep 08 '14 21:09 theNerd247

I'd like to know how to hide it as well. Personally I use passwordless SSH though (key auth) so I never have to deal with this issue.

mislav avatar Sep 09 '14 04:09 mislav

I don't know Ruby (though I would like to, however time doesn't permit currently). Though, could you point me to where in the code it calls for SSH commands? I'm going to assume that it's SSH that's requesting the terminal input for passwords, not git-deploy

theNerd247 avatar Sep 09 '14 04:09 theNerd247

Is it asking for "sudo password" when you're seeing your password in plain text? Then it might be the askpass method used here. It's probably not perfectly cross-platform so you should tell us what system you're using.

mislav avatar Sep 09 '14 19:09 mislav

No, it was showing it for the init command and it was my user SSH pasword, not sudo. I'm on Arch Linux (linux kernel version: 3.16.1-1).

theNerd247 avatar Sep 11 '14 00:09 theNerd247

You sure it was the init command? Since init just generates the post-deployment scripts in your application directory; it doesn't actually connect to SSH.

mislav avatar Sep 11 '14 03:09 mislav

correct, sorry. It was after init when I performed step 4 in the Initial Setup.

theNerd247 avatar Sep 12 '14 05:09 theNerd247

suggest close: support issue, please ask in a support forum. Maybe one linked here: https://stackexchange.com/sites

sesam avatar Sep 19 '16 18:09 sesam