Re: ssh and sudo, password not hidden

2007-07-01 Thread Darren Tucker
Tom Van Looy wrote: Oke, problem solved. But, why doesn't this flag get set implicitly when using a command with ssh? Because it's not 8bit-clean, the tty layer can change the data. It's usually ok for text, but it messes up binary data so having it on all the time would make ssh pipelines a

Re: ssh and sudo, password not hidden

2007-07-01 Thread Jose H.
Because it is not necessarily needed, tty allocation may require other tasks like logging the user to wtmp* or creating job control and you may only need to run the command and get the result as if it where a file to read from. Btw, you can use the ssh's " -T " to log into a server and not to be n

Re: ssh and sudo, password not hidden

2007-07-01 Thread Tom Van Looy
Oke, problem solved. But, why doesn't this flag get set implicitly when using a command with ssh? Chris Cohen wrote: On Saturday 30 June 2007 19:31, Tom Van Looy wrote: Hi Today I used sudo as command to ssh and it echoed my sudo password. [EMAIL PROTECTED] ~] $ ssh soekris sudo pfctl -s sta

Re: ssh and sudo, password not hidden

2007-06-30 Thread Firas Kraiem
Tom Van Looy wrote: Hi Today I used sudo as command to ssh and it echoed my sudo password. [EMAIL PROTECTED] ~] $ ssh soekris sudo pfctl -s state [EMAIL PROTECTED]'s password: Password:secret_in_echo [EMAIL PROTECTED] ~] $ I don't see anything about this in the manpage so I think this not

Re: ssh and sudo, password not hidden

2007-06-30 Thread Chris Cohen
On Saturday 30 June 2007 19:31, Tom Van Looy wrote: > Hi > > Today I used sudo as command to ssh and it echoed my sudo password. > > [EMAIL PROTECTED] ~] > $ ssh soekris sudo pfctl -s state > [EMAIL PROTECTED]'s password: > Password:secret_in_echo > > [EMAIL PROTECTED] ~] > $ > > I don't see

ssh and sudo, password not hidden

2007-06-30 Thread Tom Van Looy
Hi Today I used sudo as command to ssh and it echoed my sudo password. [EMAIL PROTECTED] ~] $ ssh soekris sudo pfctl -s state [EMAIL PROTECTED]'s password: Password:secret_in_echo [EMAIL PROTECTED] ~] $ I don't see anything about this in the manpage so I think this not expected behavi