Sysadmin > SolarIs > DisableAutoLogout

Disable auto-logout (ssh and console)

In /etc/default/login set TIMEOUT to 0

...
# TIMEOUT sets the number of seconds (between 0 and 900) to wait before
# abandoning a login session.
#
#TIMEOUT=300
TIMEOUT=0
...