I'm not an expert C programmer nor a security expert. Use at your own risk. Suggestions and patches are wellcome.
This ssh dummy shell is intended to provide access to systems where only tunnel and port forwarding functionality is permitted.
This restricted shell doesn't allow the execution of local commands from the user account.
This shell is intended for use in jumphosts, useful for SSH tunneling, secure connection to services, like databases or internal servers.
Well it doesn't do to much...
- When used as relay, with SSH ProxyCommand for example, it maintains the session open until you finish, unlike /bin/false or nologin.
- When you actually login the account, it just displays the date and a motd. And it keeps running until you close it.
- Small, it's a pretty small single C program.
- Unix like compatible, it should run on most of the Unix like OS's
- Simple to install and use.
- Few dependencies, just stardard C lib and a C compiler.
- Log to syslog
- A Unix like OS. Tested with Debian GNU/Linux and FreeBSD.
- A C compiler. Tested with GCC and Clang.
You can email me