Skip to content

Connecting with SSH

tzach edited this page Nov 11, 2014 · 1 revision

SSH is obsolete and replaced with a new CLI in Lua

More details about it can be found in: Command-Line-Interface-(CLI)

Main reasons for the switch were:

  1. Running two programs in Java within the same address space isn't correct, as shared static data such as java.lang.*, logging, etc create conflicts

  2. CRaSH shell slowed the boot time and C++ based rest api (and a CLI over it) preserves the < 1 sec boot time speed of OSV

SSH is enabled by default on the current builds of OSv.

CRaSH is till available as an optional module. Instructions on how to connect to OSv VM with CRaSH over SSH below

Connecting to OSv with CRaSH module over SSH (obsolete)

Accessing a local VM over SSH

User and password are admin/admin. After logging in, you should be greeted with this message:

>ssh -p 2000 admin@192.168.122.89
admin@192.168.122.89's password: 

[/]% 

Important note: This should not be used as production configuration. The current host key is not generated per build, and public key authentication was not properly tested yet.

Changing the credentials

Currently, there's no convenient method to update the credentials. In order to change them, one must edit the file mgmt/crash/src/main/resources/crash/crash.properties, and rebuild the project.

These issues will be addressed in a future releases.

Clone this wiki locally