Drawtermssh

This is likely to be insecure

Scripts here may be out of date, see here for a more up to date config.

Install drawterm or conterm.

$ doas pkg_add drawterm

currently, drawterm doesn't ask for username on OpenBSD. however, you can emulate it easily.

$ cat /usr/local/bin/sshdraw.sh
#!/bin/sh
echo -n 'user[glenda]:'
read duser
if [ $duser ]; then
        drawterm -r /var/empty -G -u $duser
else
        drawterm -r /var/empty -G -u glenda
fi

create a user for connecting into, for example, "drawterm". then append the following to /etc/ssh/sshd_config

Match User drawterm
        ForceCommand sshdraw.sh
        X11Forwarding no
        AllowTcpForwarding no
        AllowAgentForwarding no