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
t 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 >>

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
ne. ruel loehr wrote: > > 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

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

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

2008-07-22 Thread mindspin311
I'm trying to mimic this command in ant: [EMAIL PROTECTED]ssh -t [EMAIL PROTECTED] 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 bein