You could deny SSH login for that accounts with administrator privileges. In cases like this, if you have to perform any privileged steps within your SSH session, you will have to use runas. For an SSH consumer and server to ascertain a connection, the SSH server sends the shopper a https://servicessh.com/