Log out of SSH vs Linux

I'm using SSH to access a Linux server, which I often use under the root account. When I log off SSH without logging off the account first, then log back into SSH, it automatically puts me back into the shell from exactly where I left off under my Linux root account.

How does the system know to associate a particular SSH login with a particular account?

For example, if there were 10 people logged onto the Linux system through 10 different SSH accounts, then one person does what I did (log off SSH without logging off Linux), then logs back in, would they be automatically be in their Linux account?

Does Linux map SSH logins to its user accounts, or is there something else happening?

Thanks.

 

 

 

 

Top