From owner-freebsd-questions@FreeBSD.ORG Sun Dec 21 12:43:10 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EE3C616A4CE for ; Sun, 21 Dec 2003 12:43:10 -0800 (PST) Received: from alpha.stderror.at (at00d01-adsl-194-118-044-149.nextranet.at [194.118.44.149]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4FAA543D5C for ; Sun, 21 Dec 2003 12:43:09 -0800 (PST) (envelope-from pinhead@alpha.stderror.at) Received: by alpha.stderror.at (Postfix, from userid 1002) id 316B5C10A; Sun, 21 Dec 2003 19:38:55 +0100 (CET) Date: Sun, 21 Dec 2003 19:38:55 +0100 From: Toni Schmidbauer To: questions@freebsd.org Message-ID: <20031221183854.GY3136@stderror.at> Mail-Followup-To: questions@freebsd.org References: <1923.65.162.190.4.1071967988.squirrel@new.host.name> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="krsqJi1PDCheOQxO" Content-Disposition: inline In-Reply-To: <1923.65.162.190.4.1071967988.squirrel@new.host.name> Phone: +43 664 3502198 WWW-Home-Page: http://stderror.at X-PGP-Fingerprint: 53F2 28AE 8070 83E0 AFEC 0ABC BBF9 A34A 3ED1 3287 User-Agent: Mutt/1.5.5.1i Subject: Re: rsync and unattended ssh between 2 machines X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: toni@stderror.at List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Dec 2003 20:43:11 -0000 --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--