From owner-freebsd-questions Wed Mar 17 17:23:33 1999 Delivered-To: freebsd-questions@freebsd.org Received: from caladan.tdx.co.uk (caladan.tdx.co.uk [195.188.177.4]) by hub.freebsd.org (Postfix) with ESMTP id 9A605153CA for ; Wed, 17 Mar 1999 17:22:17 -0800 (PST) (envelope-from kpielorz@tdx.co.uk) Received: from tdx.co.uk (lorca-tx.tdx.co.uk [195.188.177.242]) by caladan.tdx.co.uk (8.9.3/8.9.3/Kp) with ESMTP id BAA75521; Thu, 18 Mar 1999 01:17:26 GMT Message-ID: <36F05425.4E29514E@tdx.co.uk> Date: Thu, 18 Mar 1999 01:17:25 +0000 From: Karl Pielorz Organization: TDX - The Digital eXchange X-Mailer: Mozilla 4.51 [en] (WinNT; I) X-Accept-Language: en MIME-Version: 1.0 To: keith@apcs.com.au Cc: questions@FreeBSD.ORG Subject: Re: scp ssh ? References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Keith Anderson wrote: > > Hi All > > Can someone help I have missed something > > I have a local network and I wish to transfer secure data every hour using cron. > > Problem is 'scp' required a password to contine. > > FreeBSD ---> FreeBSD every hour SCP is part of the SSH distribution - right? (just checking) > I'm trying to use > > /usr/local/bin/scp -C /home/fred/file root@fred.localhost:/home/fred/file > > I have a file in > > /root/.shosts > hostname.localhost root > > any help would be great This has little to do with FreeBSD - it's more a SSH question... You need to make sure that the SCP sources host/username's 'indentity.pub' is present in the SCP's destination host/username's '.ssh/authorized_keys' file. This involves running 'ssh-keygen', and copying files around... If your still stuck email me - I'll see what I can dig out (we do this here with no problems :-) -Karl To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message