How to logout from console and turn into login screen Based on the link, I can login in console mode. And then I can ssh into it from another computer.

If I want to log out the console back to the login screen how can I do that?
If you've enabled Remote Login on the destination host there is no need to login to console mode and logout to the login screen to afterwards ssh to it.

Depending on the users allowed in System Preferences -> Sharing -> Remote Login -> Allow access for: either all or only some of the users can do so after booting to the login screen.