I am using OpenBSD as my desktop. I don't want to login to my machine remotely, and I don't want anyone else to login remotely. In FreeBSD there is a file called login.access(5) that can be used to prevent remote logins, and limit login to local only. How can I accomplish the same thing in OpenBSD?
I've read the man pages for login(1) and login.conf(5) and it's possible I'm missing something, but I don't see the answer there.
login.accesscould have nothing to do against just remote command execution (likessh host cmd) – poige Oct 14 '12 at 17:11