Skip to content

Instantly share code, notes, and snippets.

#!/bin/bash
echo "liveuser:temppass" | chpasswd
systemctl daemon-reload
systemctl start sshd
echo ""
echo "SSH ready: liveuser@$(hostname -I | awk '{print $1}')"
echo "Password: temppass"