I need to allow users to run a limited set of commands.
But not to allow them to create interactive sessions.
Just like GitHub does.
If you try to ssh without a command it greetings you and close the session.
I can acquire this by using
But getting in
some-script i then need to eval user's input.
Perhaps any other
NoTTY-like option in sshd_config?
--- UPDATE ---
i'm looking for a pure
Bash solution, not Perl/Python/etc. hacks.