Skip to content

PiKVM

Raspberry Pi KVM with multi-port extenders based on Arch linux.

Setup

Tip

All commands are executed from an SSH session or launching Terminal after WebUI login.

The filesystem must be set using rw before executing writes and using ro or rebooting after changes are made.

Set Root Passwords

Danger

The root user and the WebUI use different passwords. Change both.

root: root/root. WebUI: admin/admin.

# Terminal at WebUI login or SSH.
su -
passwd root  # Update root user password.
kvmd-htpasswd set admin  # Update WebUI admin password.

Enable Certificate Authentication

See SSHD.

cp {SSH KEYS} /root/.ssh/authorized_keys

/etc/ssh/sshd_config

0644 root:root

PasswordAuthentication no

systemctl restart ssh

Update

pikvm-update

Enable Two-Factor Authentication (2FA)

kvmd-totp init

Disable Web Terminal

# Be sure SSH connections work.
systemctl disable --now kvmd-webterm

Disable Switch Lights

Switch ➔ Color scheme

Drag all sliders to the left.

Reference1