I am wanting to do a command with sudo via ssh that requires a password
but the problem is that when I enter the password it is echoed to the
screen.

ie

        ssh [EMAIL PROTECTED] "sudo apt-get dist-upgrade"
        password: PASSWORD-HERE

Is there a way to stop this being echoed or a better way to do this?

TIA

-- 
Simon Wong <[EMAIL PROTECTED]>

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to