Using Open Secure Shell w/SUDO
Todd C. Miller
Todd.Miller at courtesan.com
Tue Aug 7 14:36:01 EDT 2001
In message <01Aug7.093919cdt.26903 at firewall1.heb.com>
so spake (DAPILMOTO.RODNEY):
> Will SUDO work if we try using Open Secure Shell (SSH2) with it?
Sudo works fine with OpenSSH. However, be aware that when you
do things like "ssh wombat 'sudo echo foo'" echo will not be
turned off because no tty was allocated by ssh (it acts like
rsh). To get around this you just need to use ssh's -t flag, e.g.
"ssh -t wombat 'sudo echo foo'".
More information about the sudo-users