That's still about the same as restricting access to localhost for non-VM'd services. That kind of access control is something you have to learn any...
To give more hints on the ssh option, the remote machine needs to be running the server which is in the package openssh-server for Ubuntu. For other...