Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Dec 2003 19:38:55 +0100
From:      Toni Schmidbauer <toni@stderror.at>
To:        questions@freebsd.org
Subject:   Re: rsync and unattended ssh between 2 machines
Message-ID:  <20031221183854.GY3136@stderror.at>
In-Reply-To: <1923.65.162.190.4.1071967988.squirrel@new.host.name>
References:  <1923.65.162.190.4.1071967988.squirrel@new.host.name>

next in thread | previous in thread | raw e-mail | index | archive | help

--krsqJi1PDCheOQxO
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sat, Dec 20, 2003 at 07:53:08PM -0500, Brent Bailey wrote:
> ive been trying to get rsync to work with  unattended SSH and syncing of
> file systems
>=20
> Anyone have any good luck with doing this ? suggestions ?? any all all
> help is greatly appreciated

you have to create a rsa/dsa keypair without a passphrase
( ssh-keygen(1), just hit enter when asked for the passphrase ).=20
save the public key on the remote maschine in
$HOME/.ssh/authorized_keys. then execute rsync with "-e ssh".

for security reasons it is strongly recommended to do this as
non privileged user( _not_ root). use sudo to execute commands
as root when necessary.

hth,
toni
--=20
Kann man etwas nicht verstehen, dann urteile man | toni at stderror dot at=
=20
lieber gar nicht, als dass man verurteile.       | Toni Schmidbauer
-- Rudolf Steiner                                |=20

--krsqJi1PDCheOQxO
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (FreeBSD)

iD8DBQE/5ei+u/mjSj7RMocRArLtAJsF2An8UoPUkqmsrAczXDWRQhHrAQCfRg56
ter0KwCYaUOLLFIBmqjNmeI=
=04g7
-----END PGP SIGNATURE-----

--krsqJi1PDCheOQxO--



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