misc.inc initiated with doSSHLogin_AttachScreen function (to autorestore screen session on SSH login)