Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Mar 2000 20:13:46 +1200
From:      "Dan Langille" <dan@freebsddiary.org>
To:        jameso@be.elwood.net
Cc:        freebsd-questions@freebsd.org
Subject:   Re: transferring files securely
Message-ID:  <200003260813.UAA35926@ducky.nz.freebsd.org>
In-Reply-To: <200003260732.TAA35630@ducky.nz.freebsd.org>
References:  <200003260723.TAA35573@ducky.nz.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 26 Mar 00, at 1:31, jameso@be.elwood.net wrote:

> On 26 Mar, Dan Langille wrote:
> > I want to securely transfer some files from one box to another on a 
> > regular basis.  At present I have a cron job which tars up some files and 
> > FTPs them to another site.  That's not secure enough for me.
> > 
> > I've thought about using ssh, but I've not been able to initiate the transfer 
> > from a script.  This sounds like the ideal solution.
> 
> 
> Run ssh-keygen on the machine that has the files, then take the
> ~/.ssh/identity.pub file it created and copy it into
> ~/.ssh/authorized-keys on the remote machine. Then ssh will work with
> out a password in that direction. After that just script scp to run
> when ever you need.
> 
> man ssh should tell you all you need to know.

Geez, I'm impressed.  Thanks.  Got it working.  I'll publish details later 
this week
--
Dan Langille - DVL Software Limited [I'm looking for more work]
http://www.dvl-software.com/ |  http://www.unixathome.org/
http://www.racingsystem.com/ |  http://www.freebsddiary.org/


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200003260813.UAA35926>