Hi Chris,
I created a tunnel user account and set /bin/false as its shell. On
the client I launch ssh with the -N option and that does the trick for
me. If you attempt to connect without the -N option you are
immediately logged out.
cheers
--
Delio
On 22/05/2009, at 11:56 AM, chris bayley wrote:
Hi bods,
I wish to create a guest account on a machine where that account
exists purely for the ability to connect via SSH and create tunnels.
There is no requirement for an interactive shell on the host
machine. What then I can I specify as the guest accounts shell ???
I have noted various 'restricted shells' such as rbash and rssh but
they still do more than I need. Really all I want is MOTD and logout.
What do you suggest ?
Cheers,
Chris