Re: sudo password visible through ssh command line
On Thu, Jul 10, 2008 at 5:57 PM, Raj Kiran Grandhi <grajkiran@gmail.com> wrote:
Javier Barroso wrote:
Hi,
In sid with key passwordless auth :
ssh user@server "sudo ls"
password: password
And password is shown you
Any tip to avoid this ?
Where should be reported this bug if it could be consider as such (note I don't know if there are more programs with this problem)?
This is not a bug. The password is shown because no tty is allocated to the command. If you want a tty to be allocated, pass the -t option to ssh, as in "ssh -t user@server sudo ls"
Ok,
Thanks all people who reply the question
Reply to: