@krovacloud/cli 0.5.7 → 0.5.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +10 -3
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -59,9 +59,16 @@ krova ssh <cube> -- uname -a # run a command non-interactively
|
|
|
59
59
|
krova ssh <cube> -i ~/.ssh/id_ed25519 -L 8080:localhost:80
|
|
60
60
|
```
|
|
61
61
|
|
|
62
|
-
The CLI fetches the Cube's SSH endpoint
|
|
63
|
-
|
|
64
|
-
|
|
62
|
+
The CLI fetches the Cube's SSH endpoint — including **which user to log in as**
|
|
63
|
+
— so you never have to remember it. That is `ubuntu` on Ubuntu images and
|
|
64
|
+
`debian` on Debian images, both with passwordless `sudo` (`sudo su` for a root
|
|
65
|
+
shell); Cubes created before August 2026 log in as `root`. Direct root SSH is
|
|
66
|
+
disabled on the newer images, which is why the CLI reads the user from the API
|
|
67
|
+
rather than assuming one.
|
|
68
|
+
|
|
69
|
+
When the server provides them the CLI also **pins the host keys** to
|
|
70
|
+
`~/.config/krova/known_hosts` with strict host-key checking (no
|
|
71
|
+
trust-on-first-use window). The destination is always passed after
|
|
65
72
|
a `--` separator, with host/user validated against option-injection — a hostile
|
|
66
73
|
value aborts before `ssh` ever runs.
|
|
67
74
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@krovacloud/cli",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.8",
|
|
4
4
|
"description": "Krova Cloud CLI (krova) — manage Cubes (Firecracker microVMs), browse the catalog, and log in, from your terminal.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Krova Inc.",
|
|
@@ -40,11 +40,11 @@
|
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
42
|
"commander": "^15.0.0",
|
|
43
|
-
"@krovacloud/
|
|
44
|
-
"@krovacloud/
|
|
43
|
+
"@krovacloud/webhook": "0.1.4",
|
|
44
|
+
"@krovacloud/sdk": "0.3.11"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
|
-
"@types/node": "^26.1.
|
|
47
|
+
"@types/node": "^26.1.2",
|
|
48
48
|
"tsup": "^8.5.1",
|
|
49
49
|
"tsx": "^4.23.1",
|
|
50
50
|
"typescript": "^6.0.3"
|