using google dns, persisting ssh mode (local/remote) preference, more logging