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 <[EMAIL PROTECTED]>
> 
>> Not sure, but maybe this will help You:
>>
>> <exec executable="bash">
>> <arg line="-c 'ssh [EMAIL PROTECTED] my_commands'/>
>> </exec>
>>
>> Solved some ssh problems for me...
>>
>> Cheers,
>> Chris
>>
>> 2008/7/25 mindspin311 <[EMAIL PROTECTED]>
>>
>>
>>> 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: [EMAIL PROTECTED]
>>> For additional commands, e-mail: [EMAIL PROTECTED]
>>>
>>>
>>
> 
> 

-- 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to