Re: sshexec (running remote commands with sudo) forced psuedo-tty allocation

2008-07-29 Thread mindspin311
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

Re: sshexec (running remote commands with sudo) forced psuedo-tty allocation

2008-07-25 Thread Krzysieq
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: > > > http://www.nabble.com/sshexec-%28running-remote-commands-with-sudo%29-forced-psuedo-tty-allocation-tp18592216p18641500.html >> Sent from the Ant - Use

Re: sshexec (running remote commands with sudo) forced psuedo-tty allocation

2008-07-25 Thread Krzysieq
Not sure, but maybe this will help You: 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. > > > ---

RE: sshexec (running remote commands with sudo) forced psuedo-tty allocation

2008-07-24 Thread mindspin311
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-t

RE: sshexec (running remote commands with sudo) forced psuedo-tty allocation

2008-07-23 Thread mindspin311
ad is here: >> http://marc.info/?l=ant-user&m=120128316829325&w=2 >> >> >> -Original Message- >> From: mindspin311 [mailto:[EMAIL PROTECTED] >> Sent: Tuesday, July 22, 2008 11:08 AM >> To: user@ant.apache.org >> Subject: RE: sshexec (ru

RE: sshexec (running remote commands with sudo) forced psuedo-tty allocation

2008-07-23 Thread Barry Pape
nning remote commands with sudo) forced psuedo-tty allocation I tried that to no avail. I got this as my build script: antRunAsync I copied the way it was. and TestCommand is: #!/bin/sh ssh -t [EMAIL PROTECTED] sudo /sbin/services httpd restart Not sure what&#x

RE: sshexec (running remote commands with sudo) forced psuedo-tty allocation

2008-07-22 Thread mindspin311
/marc.info/?l=ant-user&m=120128316829325&w=2 > > > -Original Message- > From: mindspin311 [mailto:[EMAIL PROTECTED] > Sent: Tuesday, July 22, 2008 11:08 AM > To: user@ant.apache.org > Subject: RE: sshexec (running remote commands with sudo) forced > psuedo-t

RE: sshexec (running remote commands with sudo) forced psuedo-tty allocation

2008-07-22 Thread Barry Pape
To: user@ant.apache.org Subject: RE: sshexec (running remote commands with sudo) forced psuedo-tty allocation [exec] Pseudo-terminal will not be allocated because stdin is not a terminal. Doesn't work. Tried it to run a remote command without -t for something like 'ls' and it works fine. It

RE: sshexec (running remote commands with sudo) forced psuedo-tty allocation

2008-07-22 Thread mindspin311
[exec] Pseudo-terminal will not be allocated because stdin is not a terminal. Doesn't work. Tried it to run a remote command without -t for something like 'ls' and it works fine. It seems to have a problem with '-t' I thought exec was exactly like working on a command line. ruel

RE: sshexec (running remote commands with sudo) forced psuedo-tty allocation

2008-07-22 Thread Loehr, Ruel
why can't you just do an exec with the command ssh -t .? -Original Message- From: mindspin311 [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 22, 2008 10:37 AM To: user@ant.apache.org Subject: sshexec (running remote commands with sudo) forced psuedo-tty allocation I'm trying to mimi