Console only user

We authenticate to our VyOS routers over SSH using keys. We also have a user with a password for emergency console access if it’s needed, but that user can also log in over SSH with their password. Is there a way to restrict that user to console only access and not allow them to connect by SSH?

Hello @DanFoster, did you try use next?

set service ssh access-control deny user 'emergency  user'
1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.