Cameron Simpson writes: > 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. > -- I appreciate the help, but I have run into a problem while executing this.
When I run the ssh-add, I get the following error: Cound not open a connection to your authentication agent. The page suggests that an authentication agent must be running to do this, but I thought that ssh would be the authentication agent. Any ideas on what I've missed? Ian. Ian Truelsen Masters program in Philosophy University of Manitoba, Winnipeg, Canada BA (Wilfrid Laurier University) Email: [EMAIL PROTECTED] Current favourite quote: "No great civilisation likes forests." K.F. O'Connor Lincoln College, Christchurch, New Zealand _______________________________________________ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list