Skip to content
amnonh edited this page Jun 8, 2014 · 6 revisions

OSv Shell

SSH Shell

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

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.

The shell semantics should resemble Bash

Building Blocks

Command file

The Command file is a Yaml file that maps a shell command to a the API and when needed map the API result to the output.

External Libraries

  1. SSH - libssh2
  2. Readline - bsd libedit
  3. Yaml interprater - Yaml-Cpp
Clone this wiki locally