-
Notifications
You must be signed in to change notification settings - Fork 0
basman/nullshell
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
nullshell - a less than minimal shell ===================================== Purpose: ---------------------- I wanted to grant some friends access to my SSH server, just letting them create SSH tunnels without further shell related functions. Commands and Features: ---------------------- - tab command completion - exit leave the nullshell - help list available commands - logout see exit - version show version Setup: ---------------------- 1. compile nullshell.c You need the ubuntu package libreadline5-dev (or just the source of libreadline). # gcc -o nullshell -lreadline nullshell.c 2. copy the binary as executable to /usr/local/bin # cp nullshell /usr/local/bin 3. create a user account with nullshell as default shell # useradd -s /usr/local/bin/nullshell LOGINNAME 4. set the user's password with passwd or use ~/.ssh/authorized_keys to grant him access without password with his personal public SSH key. Roman Hoog Antink, 28.4.2011
About
Shell with less than minimal functionality for SSH tunnels
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published