!nvidia-smi
!apt install htop >/dev/null

"""
Explanation: <a href="https://colab.research.google.com/github/probml/probml-notebooks/blob/main/notebooks/ssh_tunnels_and_how_to_dig_them.ipynb" target="_parent"><img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open In Colab"/></a>
Introduction
Secure SHell protocol (or ssh) is a very useful protocol that enables users to execute shell commands on remote hosts. Today this powers a slew of IDEs to enable "remote development" (i.e. you write code on a thin client, and execute the code on a massive server).
Scenario 1: VSCode to Colab
Check VM type and resources
End of explanation
"""


%%time
# Install colab_ssh on google colab
!pip install colab_ssh --upgrade

from colab_ssh import launch_ssh_cloudflared, init_git_cloudflared

ssh_tunnel_password = "password"  # @param {type: "string"}
launch_ssh_cloudflared(password=ssh_tunnel_password)

"""
Explanation: Install colab-ssh
End of explanation
"""


