Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Aug 2008 16:57:44 +0200
From:      Polytropon <freebsd@edvax.de>
To:        EdwardKing <zhangsc@neusoft.com>
Cc:        FreeBSD <freebsd-questions@freebsd.org>
Subject:   Re: SSH question
Message-ID:  <20080814165744.b0109230.freebsd@edvax.de>
In-Reply-To: <005801c8fdb2$6826abf0$3f83a8c0@neusofteaf5839>
References:  <005801c8fdb2$6826abf0$3f83a8c0@neusofteaf5839>

next in thread | previous in thread | raw e-mail | index | archive | help

Hi!

On Thu, 14 Aug 2008 10:06:46 +0800, EdwardKing <zhangsc@neusoft.com> 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, ...



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080814165744.b0109230.freebsd>