-
-
Notifications
You must be signed in to change notification settings - Fork 604
Connecting with SSH
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:
-
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
-
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
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.
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.