OT:SSH / SCP Configuration
Jean-Pierre A. Radley
appl at jpr.com
Tue Oct 25 14:50:37 PDT 2005
Mark Luljak propounded (on Tue, Oct 25, 2005 at 05:43:10PM -0400):
| At Tue, Oct 25, 2005 at 05:35:25PM -0400 or thereabouts,
| suspect J. P. Radley was observed uttering:
| > Doug Luurs propounded (on Tue, Oct 25, 2005 at 04:07:47PM -0400):
| > | Has anyone configured scp (or any other SSH Copy program) to copy files
| > | without
| > | asking for the target systems password ?
| > |
| > | I know it can be done (.shosts ?) , but I'm not having any luck figuring
| > | it out.
| > |
| > | I want to automatically send export files from filepro from one system
| > | to another,
| > | and visvia.
| >
| > You need to place a copy of the public key of the [the sending user
| > at the] sending system into the authorized_keys file of the [receiving
| > user at the] receiving system.
| >
| > It's quite the same procedure you'd use to enable ssh from one machine
| > to a remote with being asked for a pawssword on the remote.
|
| Except you must use -B or ensure that the passphrase for the key is blank.
| Either/or. Using -B is higher security, although some people like to use
| ssh keys to log in without having to enter anything, for which the latter
| also works.
Not necessarily. My login files (.login or .profile) run ssh-agent when
I log in, capture my passphrase, and I do not have to supply it for any
ensuing ssh/scp/sftp sessions.
OTOH if these transfers are to occur out of a crontab, then yes I guess
a blank passphrase is the way to go.
--
JP
More information about the Filepro-list
mailing list