vmkey

command
v0.144.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 20, 2026 License: BSD-3-Clause Imports: 16 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Command vmkey installs one SSH public key for one NON-administrator local user on a Windows virtual machine reached through a loopback port forward.

vmkey install --ssh-port 2222 --admin reader --user std \
    --pubkey ~/.ssh/win11vm_std_ed25519.pub [--dry-run]

It exists so that this one act can be granted narrowly: the tool can talk only to a loopback address, can install only a single parsed public key, can never target an account that is in the Administrators group, and writes only C:\Users\<user>\.ssh\authorized_keys with an ACL of <user> and SYSTEM. ssh runs through exec argv, never a shell string built from input; the key travels on stdin; every remote action is printed before it is taken.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL