Is that really the only way. I find it hard to believe that there is no other way to achieve this. Unfortunetely it is not possible for me to configure sudo to allow me to run commands without entering the password.
col. ----- Original Message ----- From: "Anderson, Rob (Global Trade)" <[EMAIL PROTECTED]> Newsgroups: gmane.comp.jakarta.ant.user Sent: Tuesday, October 26, 2004 3:30 AM Subject: RE: How do I execute a sudo ssh command? You would need to configure sudo to allow you to run the command without a password. -Rob A > -----Original Message----- > From: news [mailto:[EMAIL PROTECTED] Behalf Of Colin Harris > Sent: Sunday, October 24, 2004 9:21 PM > To: [EMAIL PROTECTED] > Subject: How do I execute a sudo ssh command? > > > I'm having trouble trying to run a command on a remote server > via ssh. The > problem is that there are a few commands that require me to > use 'sudo' but > there doesn't seem to be a way of specifying the password when it is > requested. > > I'm sure other people have had to do the same thing. Could > someoe please > point me in the right direction. > > cheers > > col. > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]