sudo ssh help...

From: Mridul (mridul_p@hotmail.com)
Date: 04/04/03


From: mridul_p@hotmail.com (Mridul)
Date: 4 Apr 2003 04:16:03 -0800

Good people,

I have a program that calls my program which invokes a system call.
The final command is equivalent to

sudo ssh -l blah 1.2.3.4 sudo <root previlege cmd>

I have set up the passphrases so that I do not have to type the
password for the ssh command.

So,
ssh -l blah 1.2.3.4 sudo ps -eaf

runs just fine. No password required.

But, if I do 'sudo ssh... ', it asks me for the password.

blah@1.2.3.4 password:

How do I ensure that the passphrase is used instead?

Regards,
Mridul.