When ssh connection have lost. you must notify about that. Without that all editing goes to /dev/null