[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [Deb-SEC]oddball ssh remote passwd question



David Ehle <ehle@agni.phys.iit.edu> writes:

> Hello all,
> if you do:
> ssh host@somemachine.domain.net password

What is `password'?

> ssh will have you authenticate to host, and then bring up the password
> change prompt
> (current) UNIX password: 
> on the remote machine.  
>
> BUT when you start typing, the characters show up on screen- not hashed
> or unprinted. What is it that is striping this functionality from passwd?

> Failing finding a way to get ssh to not express these characters, I
> could swear there is a simple way of turning off echoing input to the
> screen, but for the life of me I can't remember the command or variable
> in bash.

ssh(1):

 | -t  Force pseudo-tty allocation.  This can be used to execute arbi
 |     trary screen-based programs on a remote machine, which can be
 |     very useful, e.g., when implementing menu services. Multiple
 |     -t options force tty allocation, even if ssh has no local tty.

That any use?

~Tim
-- 
<http://spodzone.org.uk/>



Reply to: