Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Mar 1999 01:17:25 +0000
From:      Karl Pielorz <kpielorz@tdx.co.uk>
To:        keith@apcs.com.au
Cc:        questions@FreeBSD.ORG
Subject:   Re: scp ssh ?
Message-ID:  <36F05425.4E29514E@tdx.co.uk>
References:  <XFMail.990318082240.keith@apcs.com.au>

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

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?36F05425.4E29514E>