ant-user mailing list archives

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

Found a solution. Have to go into sudoers and comment 'requiretty'
Doesn't seem to be a way around this other than commenting out this line.



krzysieq wrote:
> 
> Forgot to close the double quote at the end of arg line...
> 
> 2008/7/25 Krzysieq <krzysieq@gazeta.pl>
> 
>> Not sure, but maybe this will help You:
>>
>> <exec executable="bash">
>> <arg line="-c 'ssh somebody@somewhere.net my_commands'/>
>> </exec>
>>
>> Solved some ssh problems for me...
>>
>> Cheers,
>> Chris
>>
>> 2008/7/25 mindspin311 <connoc.mindspin@gmail.com>
>>
>>
>>> meh.. I give up.
>>>
>>> ssh'in into root by adding build's pub key to root's authorized_keys'
>>> file.
>>> Systems might have some problems with it, but it works for now.
>>>
>>>
>>>
>>> --
>>> View this message in context:
>>> http://www.nabble.com/sshexec-%28running-remote-commands-with-sudo%29-forced-psuedo-tty-allocation-tp18592216p18641500.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
>>>
>>>
>>
> 
> 

-- 
View this message in context: http://www.nabble.com/sshexec-%28running-remote-commands-with-sudo%29-forced-psuedo-tty-allocation-tp18592216p18713849.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