Possible Duplicate:
ssh tunneling only access

I'm thinking about using TightVNC's java client to allow customers to access a virtual server. TightVNC supports tunneling the connection using SSH.

To make things more secure, I'd like to have the account used for this to only allow tunneling, but nothing else (ie. no shell). What is required to have tunneling work, but blocking everything else?

link|improve this question

75% accept rate
Indeed, Gilles, you're right. Is there a way to mark it as a duplicate, or should I just delete the question? – Dave Vogt Dec 14 '10 at 14:28
feedback

closed as exact duplicate by Chopper3 Jan 28 '11 at 18:58

This question covers exactly the same ground as earlier questions on this topic; its answers may be merged with another identical question. See the FAQ for guidance on how to improve it.

1 Answer

Set account shell to /usr/sbin/nologin

link|improve this answer
feedback

Not the answer you're looking for? Browse other questions tagged or ask your own question.