Google Cloud comes with a browser based SSH application, which you can launch via gce_ssh_browser to set it up further to your liking.
gce_ssh_browser
library(googleComputeEngineR) gce_ssh_browser("my-server")