-
Notifications
You must be signed in to change notification settings - Fork 11
OSv Shell
amnonh edited this page Jun 9, 2014
·
6 revisions
For various use cases an SSH shell is required to be part of the image. This is specifically true for external tools that relays on SSH to connect to the system.
OSv Shell is an application that would be optionally added to the image to support basic SSH shell capabilities.
The shell will heavily relay on the API, leaving minimal logic in the Shell itself and allowing to run the same code outside of the image.
The shell semantics should resemble Bash.
SSH server will receive the encrypted session. Readline (with history) will handle the readline functionality (completion, shortcuts etc') Command handling will handle commands, with helper function to fetch information from the API if needed and format the result.
- SSH - libssh2
- Readline - bsd libedit
- Json Parser