SSH question
Matthew Seaman
m.seaman at infracaninophile.co.uk
Thu Aug 14 05:43:52 UTC 2008
EdwardKing wrote:
> I use SSH to remote FreeBSD
> $ssh tom at mydomain.org
> password:
>
> Then I SSh to suspend client in that remote machine:
> $~
> /home/tom: Permission denied
>
> Permission denied? Why? How to do that?
What happened here is that you were trying to type an escape code
into ssh -- eg. ~^Z (suspend) or ~. (quit)
However, '~' is actually a fairly common character in normal usage,
so ssh will pass it through to the remote login session unless you
get the escape sequence exactly right. The ~ character must be the
first thing on a new line, and it must be followed by one of the
known key codes, which you can list by using the ~? escape during a
ssh session.
It seems that you typed something wrong: perhaps you managed to type
~~ which means your shell on the remote machine would receive the ~ character. This it would duely expand to be the path to your home
directory. It then tried to execute that path, but directories are
not executable, resulting in the 'permission denied' message.
Cheers,
Matthew
--
Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard
Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
Kent, CT11 9PW
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 258 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080814/584726ec/signature.pgp
More information about the freebsd-questions
mailing list