Date: Sun, 26 Mar 2000 01:31:11 -0600 (CST) From: jameso@elwood.net To: dan@freebsddiary.org Cc: freebsd-questions@freebsd.org Subject: Re: transferring files securely Message-ID: <20000326073123.6CDD837B9BA@hub.freebsd.org> In-Reply-To: <200003260723.TAA35573@ducky.nz.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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. Jim 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?20000326073123.6CDD837B9BA>