From owner-freebsd-questions@FreeBSD.ORG Wed Oct 31 11:13:03 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 3170716A41A for ; Wed, 31 Oct 2007 11:13:03 +0000 (UTC) (envelope-from michael.grant@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.176]) by mx1.freebsd.org (Postfix) with ESMTP id ECCDF13C4B0 for ; Wed, 31 Oct 2007 11:13:02 +0000 (UTC) (envelope-from michael.grant@gmail.com) Received: by py-out-1112.google.com with SMTP id u77so229424pyb for ; Wed, 31 Oct 2007 04:12:45 -0700 (PDT) Received: by 10.65.138.4 with SMTP id q4mr795963qbn.1193823097672; Wed, 31 Oct 2007 02:31:37 -0700 (PDT) Received: by 10.64.251.5 with HTTP; Wed, 31 Oct 2007 02:31:37 -0700 (PDT) Message-ID: <62b856460710310231h3bc517cdl20300179ac6f1a39@mail.gmail.com> Date: Wed, 31 Oct 2007 10:31:37 +0100 From: "Michael Grant" Sender: michael.grant@gmail.com To: "FreeBSD Questions" MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Google-Sender-Auth: 9d62d9e515bd4705 Subject: 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 11:13:03 -0000 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