[CentOS] scp with tty

Tue Oct 13 19:15:33 UTC 2009
Les Mikesell <lesmikesell at gmail.com>

aurfalien at gmail.com wrote:
> I actually had to set both ssh keys and commented out the requiretty  
> in the sudoers file.
> 
> What I was doing was having ssh called from a script and running a  
> command on that remote host it was ssh-ing into.

I'm still missing why you'd need to sudo inside the remote shell instead 
of ssh'ing as the right user in the first place.  Or at least why you'd 
require a password for it.

-- 
   Les Mikesell
    lesmikesell at gmail.com