ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mindspin311 <connoc.minds...@gmail.com>
Subject sshexec (running remote commands with sudo) forced psuedo-tty allocation
Date Tue, 22 Jul 2008 15:37:29 GMT

I'm trying to mimic this command in ant:

build@colbert]$    ssh -t deploy@www150.qa.xxxxxxxxxxxx.net sudo
/sbin/service httpd restart
build has password-less ssh access to deploy's accounts. Deploy also has
password-less sudoers access to run any root owned apps. This is the only
way I can do this without being prompted for a password, but there is no way
to use the -t option with sshexec. Anyone know a good fix on how to do this
in ant using sshexec or exec?
-- 
View this message in context: http://www.nabble.com/sshexec-%28running-remote-commands-with-sudo%29-forced-psuedo-tty-allocation-tp18592216p18592216.html
Sent from the Ant - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message