Figured that i had to install RemoteSubl package along with rsub.
If you are not getting “Connection lost” pop up, it is because of the setting – Sublime Text -> preferences -> Package Settings -> RemoteSubl -> Settings
{
/*
listen host
WARNING: it's NOT recommended to change this option,
use SSH tunneling instead.
*/
"host": "localhost",
/*
listen port
*/
"port": 52698,
/*
display a dialog when connection is lost
*/
"pop_up_when_connection_lost": true,
/*
color scheme to use for remote windows
examples:
- null (use the default color scheme)
- "Packages/Color Scheme - Default/Monokai.tmTheme"
*/
"color_scheme": null
}
pop_up_when_connection_lost must be set to true.