From owner-freebsd-questions@FreeBSD.ORG Sat May 31 01:53:25 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 8AFB31065672 for ; Sat, 31 May 2008 01:53:25 +0000 (UTC) (envelope-from turnerlit@gmail.com) Received: from fk-out-0910.google.com (fk-out-0910.google.com [209.85.128.190]) by mx1.freebsd.org (Postfix) with ESMTP id 2C9D18FC0A for ; Sat, 31 May 2008 01:53:24 +0000 (UTC) (envelope-from turnerlit@gmail.com) Received: by fk-out-0910.google.com with SMTP id k31so369983fkk.11 for ; Fri, 30 May 2008 18:53:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=TiNDvUu8k8nOmI6innAZUiMVTXIEQI5CjLHw3eTI834=; b=ZJH0MNbV9LiZL02L8Oly0XTFFHM1XNV0DIfSxPRDWRxNjSi9nbuhkoov0zVvh9j0ZlKjqkdN4OxZrE3dJoK9uj/YWtVhzV2wowCyMBs7h6LwcsEp80zr8WTIhR3g7mpcaZ2hEQFpWcGzw1qwsBLn4yKsj5JxcqvPszB4Oof9rT0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=Q4gusJoGohgdSKA5DMsyRJydmKuRHlt3D9tdXrDUt+jDM2vcgmOEFrKwbMGB/ezEx++BaWkhwPtrCEIjOeKrmu4P2JEbSSczLld4HQSrynqZ4ktiWmvTgwDKogAnPRA6mdbr2ZUyaRNIhtB4itbmuEU/jW0neOzkazuKPeDv/Yc= Received: by 10.78.198.14 with SMTP id v14mr736509huf.115.1212197306316; Fri, 30 May 2008 18:28:26 -0700 (PDT) Received: by 10.78.50.14 with HTTP; Fri, 30 May 2008 18:28:26 -0700 (PDT) Message-ID: Date: Fri, 30 May 2008 18:28:26 -0700 From: "Turner Litigation Services" To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: ssh - connect to directory outside of /user/home - permission denied 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: Sat, 31 May 2008 01:53:25 -0000 How do you allow ssh to permit connections to a folder outside of the /home folder of the user loggin in to ssh? For example, i want to sync two folders (using unison) on different machines and need to ssh to the remote folder .. but the folder is a shared folder outside of my home folder (i.e. /user/data/pub). ssh [username]@[servername] works to get me into the user folder and I can cd to the folder I need to access (and have proper perms there) But, I need to connect to the folder directly to use unison (file/directory synchronization tool). ssh [username]@[severname] /usr/data/pub/ gives permission denied errors. I've heard the directory path needs to be relative to the home path but the following does not work either: ssh [username]@[servername] ../../../usr/data/pub/ (where the default directory for ssh logins is /usr/home/[username]/.) I've tried formatting variations of the above themes to no avail and suspect there's a setting somewhere to allow what directories ssh connections can be made to, or creating a link in [users] home directory to the public directory. Your help would be appreciated. -- Turner Litigation Services POB 319 Eureka, CA 95502 Tel. (707) 496-9666