From owner-freebsd-questions@FreeBSD.ORG Thu Oct 23 01:40:27 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5B775106566B for ; Thu, 23 Oct 2008 01:40:27 +0000 (UTC) (envelope-from kalin@el.net) Received: from mail.el.net (mail.el.net [64.81.218.253]) by mx1.freebsd.org (Postfix) with ESMTP id 22BCD8FC18 for ; Thu, 23 Oct 2008 01:40:27 +0000 (UTC) (envelope-from kalin@el.net) Received: (qmail 4876 invoked by uid 1008); 23 Oct 2008 02:43:11 -0000 Received: from unknown (HELO kalins-macbook-pro.local) (kalin@el.net@74.1.12.115) by mail.el.net with ESMTPA; 23 Oct 2008 02:43:11 -0000 Message-ID: <48FFD609.6090206@el.net> Date: Wed, 22 Oct 2008 21:40:25 -0400 From: kalin m User-Agent: Thunderbird 2.0.0.17 (Macintosh/20080914) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: scp X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Oct 2008 01:40:27 -0000 hi all... i need to do a script to copy a file from a remote machine via scp with a key and without a password.... here is what i'm doing: 1. ssh-keygen -t rsa 2. scp new_key.pub to user@remote_host (with password) 3. on remote_host rename new_key.pub to ~user/.ssh/athorized_keys when i try: # scp user@remote_host:/files/file file i get password prompt... what am i missing?!? thanks....