From owner-freebsd-questions@FreeBSD.ORG Thu Aug 14 14:57:47 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 A17391065782 for ; Thu, 14 Aug 2008 14:57:47 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id 6359E8FC18 for ; Thu, 14 Aug 2008 14:57:47 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r55.edvax.de (port-92-195-45-203.dynamic.qsc.de [92.195.45.203]) by mx01.qsc.de (Postfix) with ESMTP id D4838902DA; Thu, 14 Aug 2008 16:57:45 +0200 (CEST) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id m7EEvikG001767; Thu, 14 Aug 2008 16:57:45 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Thu, 14 Aug 2008 16:57:44 +0200 From: Polytropon To: EdwardKing Message-Id: <20080814165744.b0109230.freebsd@edvax.de> In-Reply-To: <005801c8fdb2$6826abf0$3f83a8c0@neusofteaf5839> References: <005801c8fdb2$6826abf0$3f83a8c0@neusofteaf5839> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: FreeBSD Subject: Re: SSH question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Aug 2008 14:57:47 -0000 Hi! On Thu, 14 Aug 2008 10:06:46 +0800, EdwardKing wrote: > I use SSH to remote FreeBSD > $ssh tom@mydomain.org > password: > > Then I SSh to suspend client in that remote machine: > $~ > /home/tom: Permission denied > > Permission denied? Why? How to do that? In opposite to Matthew Seaman I don't think it's an escape code problem here. Instead, it seems you're trying to execute your home directory. :-) The $ sign seems to imply you're using the Bourne Shell. The same problem you described can be done using the C Shell: % ~ /home/poly: Permission denied. When I try this in BASH, I get this: $ ~ bash: /home/poly: is a directory Maybe % cd ~ is what you indended to do? -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...