From owner-freebsd-stable@FreeBSD.ORG Fri Feb 28 21:28:04 2014 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 2AFFCB1; Fri, 28 Feb 2014 21:28:04 +0000 (UTC) Received: from webmail.dweimer.net (24-240-198-187.static.stls.mo.charter.com [24.240.198.187]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id E784C19FC; Fri, 28 Feb 2014 21:28:03 +0000 (UTC) Received: from www.dweimer.net (webmail [192.168.5.2]) by webmail.dweimer.net (8.14.7/8.14.7) with ESMTP id s1SLS28d008956 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 28 Feb 2014 15:28:02 -0600 (CST) (envelope-from dweimer@dweimer.net) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Fri, 28 Feb 2014 15:28:02 -0600 From: dweimer To: Mark Felder Subject: Re: ssh-copy-id Organization: dweimer.net Mail-Reply-To: dweimer@dweimer.net In-Reply-To: <1393618827.9046.89104957.4A974C56@webmail.messagingengine.com> References: <2cba8fd9cc51dedc1bd5e127046f4ab7@dweimer.net> <1393618827.9046.89104957.4A974C56@webmail.messagingengine.com> Message-ID: X-Sender: dweimer@dweimer.net User-Agent: Roundcube Webmail/1.0-rc Cc: owner-freebsd-stable@freebsd.org, freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list Reply-To: dweimer@dweimer.net List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Feb 2014 21:28:04 -0000 On 02/28/2014 2:20 pm, Mark Felder wrote: > I modified it like this: > > echo "alg $alg" > echo "key $key" > echo "comment $comment" > printf "$alg $key $comment\n" >> "$keyfile" ; \ > > > so I could see where printf was breaking. It's breaking on the first > one > -- $alg > > Unmatched '. > key: Undefined variable. > comment: Undefined variable. > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to > "freebsd-stable-unsubscribe@freebsd.org" ok, now I feel kinda stupid.... um it was breaking because of the -----BEGIN RSA PRIVATE KEY----- at the beginning of ~/.ssh/id_rsa... then i thought, wait I am suppose to send my public key, not the private one. it works right if you use ssh-copy-id -i ~/.ssh/id_rsa.pub sorry Mark, didn't mean to waste your time looking at this... -- Thanks, Dean E. Weimer http://www.dweimer.net/