From owner-freebsd-questions@FreeBSD.ORG Wed Oct 31 14:18:10 2007 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 A923716A420 for ; Wed, 31 Oct 2007 14:18:10 +0000 (UTC) (envelope-from oscartheduck@gmail.com) Received: from nz-out-0506.google.com (nz-out-0506.google.com [64.233.162.238]) by mx1.freebsd.org (Postfix) with ESMTP id 623C813C4B7 for ; Wed, 31 Oct 2007 14:18:09 +0000 (UTC) (envelope-from oscartheduck@gmail.com) Received: by nz-out-0506.google.com with SMTP id l8so117305nzf for ; Wed, 31 Oct 2007 07:17:56 -0700 (PDT) Received: by 10.142.155.4 with SMTP id c4mr1965953wfe.1193833837081; Wed, 31 Oct 2007 05:30:37 -0700 (PDT) Received: by 10.142.180.12 with HTTP; Wed, 31 Oct 2007 05:30:37 -0700 (PDT) Message-ID: Date: Wed, 31 Oct 2007 06:30:37 -0600 From: James To: "Michael Grant" In-Reply-To: <62b856460710310231h3bc517cdl20300179ac6f1a39@mail.gmail.com> MIME-Version: 1.0 References: <62b856460710310231h3bc517cdl20300179ac6f1a39@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: FreeBSD Questions Subject: Re: ssh 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: Wed, 31 Oct 2007 14:18:10 -0000 On 10/31/07, Michael Grant wrote: > > If I'm sued as root and I ssh somewhere, ssh/scp reads it's files from > /root/.ssh/. The docs say it reads from ~/.ssh which is what I want, > but it's not doing that. When sued, the shell is properly expanding ~ > to my home dir. > > Anyone know of a way around this behavior? > > Michael Grant > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > su - root