With , I can access my mac at home via VNC. When in the same network, I also can access it via ssh with the name NAME.local with the help of bonjour.
Then, is it possible to terminal login the mac at home via VNC + SSH or anything? I tried with NAME.local outside local network, but the name is not recognized.
ssh computername.`echo show Setup:/Network/BackToMyMac | scutil | sed -n 's/.* : *\(.*\).$/\1/p'`
also works fine.