On Sat, Nov 17, 2001 at 11:24:36PM +0000, Ian Truelsen <[EMAIL PROTECTED]> wrote: | I have been trying to set up a command-line call to a program on another | machine using SSH. It works fine when I call it from a term and enter the | password, but I am trying to set it up so that I don't have to do this. | | From the man pages, I was able to figure out that I should be able to get it | working by including -o BatchMode=yes in the command line. | | However, when I do this, I get the following error: | Permission denied (publickey, password, keyboard-interactive) | | Now, I know that this refers to the modes of authentication, but the | BatchMode option should get around this. | | Can anyone give me some pointers on this? Am I going in the wrong direction | here?
Make yourself a key pair with the shh-keygen command and copy the public half into the .ssh/authorized_keys at the far end. Then make sure you have an ssh-agent, and place your key into it with ssh-add. Then no password challenges should happen. -- Cameron Simpson, DoD#743 [EMAIL PROTECTED] http://www.zip.com.au/~cs/ Winning isn't everything, but losing sucks. - Larry Kahn, <[EMAIL PROTECTED]> _______________________________________________ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list