bug in ssh??

Hi everyone
would someone be able to try this…maybe its just my system?

Im using public/private key authentication (RSA) for passwordless logins between my laptop (artemis) and desktop (zeus)…if I type:


ssh zeus sudo ls

(you can replace “ls” with any command…")

ssh connects to the desktop with no problems (via public key authentication)…then sudo prompts me for my password (as expected).

low and behold, when i type my password for sudo, it appears as PLAIN TEXT on the screen. it does not replace the typed characters with “****”, nor does it replace the characters with blanks as you type the password.

any thoughts?

On Wed, 2009-04-22 at 18:56 +0000, pimanac wrote:
> Hi everyone
> would someone be able to try this…maybe its just my system?
>
> Im using public/private key authentication (RSA) for passwordless
> logins between my laptop (artemis) and desktop (zeus)…if I type:
>
>
> Code:
> --------------------
>
> ssh zeus sudo ls
>
> --------------------
>
>
> (you can replace “ls” with any command…")
>
> ssh connects to the desktop with no problems (via public key
> authentication)…then sudo prompts me for my password (as expected).
>
> low and behold, when i type my password for sudo, it appears as PLAIN
> TEXT on the screen. it does not replace the typed characters with
> “****”, nor does it replace the characters with blanks as you type the
> password.
>
> any thoughts?

sudo interactively prompts for a password from a real terminal
or pseudo terminal. Try using the -t option and see if that
helps (-t forces it).