Gentoo

Logging In
ssh username@ipaddress (type in your ssh passphrase) su - root (type in the root password) screen -r

Logging Out
Ctrl+A D Ctrl+D Ctrl+D