From owner-freebsd-questions Tue Aug 6 9:15:13 2002 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 1669D37B400 for ; Tue, 6 Aug 2002 09:15:11 -0700 (PDT) Received: from pressure.noc.uk.easynet.net (pressure.noc.uk.easynet.net [195.40.7.165]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4476743E3B for ; Tue, 6 Aug 2002 09:15:10 -0700 (PDT) (envelope-from marc.silver@uk.easynet.net) Received: by pressure.noc.uk.easynet.net (Postfix, from userid 1332) id 5DF156C801; Tue, 6 Aug 2002 17:15:03 +0100 (BST) Date: Tue, 6 Aug 2002 17:15:03 +0100 From: Marc Silver To: Eric Six Cc: "'freebsd-questions@FreeBSD.ORG'" Subject: Re: SFTP/SCP script copies... Message-ID: <20020806161503.GA15696@uk.easynet.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi there, Not 100% sure, but I think that _maybe_ (I'm guessing cause I've never used it) ssh-agent could do what you need.... :) - Marc On Tue, Aug 06, 2002 at 10:04:17AM -0500, Eric Six wrote: > > How do you go about copying a file via a perl script from cron with scp/sftp > with an account that has a passphrase? I can copy via scp with an empty > passphrase just by copying the rsa-key for the user from the target machine, > but I don't like having a empty passphrase account (even though a person > would need the rsa key to login to this account?) > > Possible? > > > Thanks, > Eric To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message