Hello, I'm trying to run ssh remotely as a process through STAF. Let's say that "a" is the machine that invokes the staf command, "b" is the machine that runs ssh and "c" is the machine that receives the ssh request. In addition to this, let's assume that: - ssh keys between "b" and "c" have been exchanged so ssh commands may be invoked from "b" to "c" without having to having to write any password. - staf trust level for "a" in "b" has been set to 5 so no trust level problems arise.
Hence, if I try to run the following command in "b": ssh <machine_c> ls I don't get any error and the listing of the home directory is received correctly. However, if I try to run the following command in "a": staf -verbose <machine_b> process start shell command ssh parms '<machine_c> ls' returnstdout wait username <username> The following is the displayed in the console in "b" "Enter passphrase for key" (etc.) Thus, it seems that a password is required to use ssh key. However, the key has an empty password and, in fact, in the first example I used without any problem. Probably I've skipped something regarding ssh authentication, but I'm not able to find out what it is right now. Does anybody have any idea about that? Thanks. Best regards, Javier ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ staf-users mailing list staf-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/staf-users