You can type it in any shell after you download Google Cloud SDK.
Google DL Image preinstalls them for you as demo.
You are supposed to clone them in the Google Cloud instance you get connected to.
No, it doesn’t.
Basically, you are controlling the remote computer and projecting its shell into your local shell. SSH also tunnels the data in the Jupyter notebook to your localhost:8080, so that you can work directly with the notebook running in the remote server in the convenience of your browser.