Here is a copy of a post I sent before which describes how to install secure
keys.

I am new to this, but have learned a little from "SSH the secure shell" by
O'reilly. The "proper" way to go about this is as follows:
:use ssh-keygen to create a pair of keys. At the time you do this you can
elect to enter a passphrase or not. The proper thing to do is to enter one
and then use the steps below to avoid continuously entering the key. If you
do not enter a passphrase then one will not be required to use the key.
:take the public key enter enter it into ~/.ssh/authorized_keys on the
client system
:on your main system execute "ssh-agent $SHELL" this will load the agent
program and give you a new shell.
:execute "ssh-add" this should prompt you for the pass phrase. Now the
passphrase is loaded and you will not be asked for it on each execution of
ssh or scp.
These steps from the book worked for me on a Solaris 2.5 box running
F-Secure and are documented to work for SSH1 or OpenSSH.


-----Original Message-----
From: dkwok [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 15, 2001 8:17 AM
To: [EMAIL PROTECTED]
Subject: How to use scp in batch mode


Hi All

How can I copy files by using scp in a batch mode

I read the man page saying the to use -B but it comes up with "bad
passphase"

I have try some some other tricks like -B paraphase and it does not work
either.

I am not on the mailing list please cc to me.

Regards
David Kwok

Reply via email to