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.
ADDED
ssh computername.`echo show Setup:/Network/BackToMyMac | scutil | sed -n 's/.* : *\(.*\).$/\1/p'`
also works fine.
Reference: http://smithjw.me/blog/2012/8/1/initiating-screen-sharing-or-back-to-my-mac-from-the-command.html