To SSH into your Alpine Linux VM instead, the process is very similar — but Alpine is super minimal by default, so there are a few extra steps you may need to take first.
SSH from your main computer into the Alpine VM running on Proxmox.
Log into the Alpine VM via the Proxmox console, then run:
apk update
apk add opensshTo start it immediately:
rc-service sshd startTo start it automatically on boot:
rc-update add sshdEdit the SSH config file:
vi /etc/ssh/sshd_configEnsure this line is present and not commented:
PasswordAuthentication yesThen restart SSH:
rc-service sshd restartRun:
ip aLook for an IP under eth0, eth1, or similar — e.g. 192.168.1.150.
Now, from your main machine:
ssh youruser@192.168.x.xAlpine doesn't create a user by default unless you do it manually. If you're using root, make sure root login is allowed:
PermitRootLogin yesOtherwise, you can create a new user:
adduser alice
passwd alice
adduser alice wheel # Optional: add to sudoers groupGive sudo permissions (Alpine uses doas or install sudo):
apk add sudoThen:
visudoAdd:
alice ALL=(ALL) ALLLet me know if:
- You’re getting an error
- You want to use SSH keys instead of passwords
- You want to expose it outside your LAN via port forwarding or reverse proxy