add local connect_remote.py for comparing
update connect_remote from linux