OPNsense GUI - System -> Settings -> Administration

System: Settings: Administration

Secure Shell
Secure Shell Server [x] Enable Secure Shell
Login Group wheel,admins
Root Login [x] Permit root user login
Authentication Method [x] Permit password login
SSH port 22
Listen Interfaces LAN
all others = system defaults
[Save]