proof of concept code for fsnotify and ssh connection