Logging Out
When you finish your session, you need to log out of the system to ensure that nobody else accesses your files while masquerading as you.
To log out:
logout
That’s it! Just type logout, and the system will clean up everything and break the connection, and the SSH program might very well just vanish completely.
✓ Tip
On some Unix systems, you can type exit or quit instead of logout, or press on your keyboard.
Get Unix Third Edition: Visual Quickstart Guide now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.