sudo ssh help...

From: Mridul (
Date: 04/04/03

From: (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 sudo <root previlege cmd>

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

ssh -l blah sudo ps -eaf

runs just fine. No password required.

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

blah@ password:

How do I ensure that the passphrase is used instead?