Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Feb 2002 16:50:17 -0700
From:      Colin Harford <colin.harford@mail.su.ualberta.ca>
To:        <freebsd-questions@freebsd.org>
Subject:   Scp
Message-ID:  <B89AD5C9.4F0E%colin.harford@mail.su.ualberta.ca>

next in thread | raw e-mail | index | archive | help
I am writing up a shell script that is to be executed via cron.

Part of the script involves using scp, and I want it to copy a file to a
remote server.


Currently I use syntax scp localfile
user@remote:/location-to-save-to/remotefile

The problem is I want to have it authenticate by itself without needing my
input.

Any ideas how, and the syntax I would use. (the man page is rather
ambigious)

Colin Harford =A0=A0=A0

=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0
Systems and Network Administrator =A0=A0=A0=A0    Apple Product Professional
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =A0=A0=A0=A0
Computer and Network Support =A0=A0=A0=A0=A0=A0=A0=A0
University of Alberta Students' Union =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0
Phone: (780) 492-4241 =A0=A0Fax: =A0(780) 492-4643
http://www.su.ualberta.ca


"I sense much NT in you, NT leads to Blue Screen.
Blue Screen leads to downtime, downtime leads to suffering.
NT is the path to the darkside."
         - Unknown Unix Jedi




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?B89AD5C9.4F0E%colin.harford>