I use ssh -p8520 username@remote_host to login remote server.
Issue:
It is always connected and works properly when I am in the work place. Unfortunately, terminal freezes in 10 - 15 minutes after I connected with the remote server from home.
There's no error/timeout report on the console but the cursor cannot move any more.
When enter w to check the login users, some zombies login users are there, and I have to kill them manually.
This is quite annoying. Can anyone help me?

screen. Maybe this is some kind of a timeout issue. – martin Aug 1 '14 at 16:12screenhelps to keep the program running. Unfortunately sometimes i have to work on the remote server:( – haifzhan Aug 1 '14 at 16:14screenonly? It can solve the lost connection issue? Noscreen -S screenName? I always use screen with-Sand-r– haifzhan Aug 1 '14 at 16:16screen. You seem to already know that ;) – martin Aug 1 '14 at 16:20