Skip to content

Instantly share code, notes, and snippets.

thegreatestminer

Block or report user

Report or block thegreatestminer

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@thegreatestminer
thegreatestminer / ssh
Last active Aug 17, 2019 — forked from yashkumaratri/Google Colab SSH
Allows you to connect to your Google Colab by using ssh and ngrok.
View ssh
#@markdown <h2><- Click here to enable SSH.</h2>
#@markdown <h4>Get authtoken from <a href="https://dashboard.ngrok.com/auth">ngrok.</a></h4>
import string, time
authtoken = "CHANGE THIS" #@param {type:"string"}
sshpassword = "CHANGE THIS" #@param {type:"string"}
#Download ngrok
! wget -q -c -nc https://bin.equinox.io/c/4VmDzA7iaHb/ngrok-stable-linux-amd64.zip
! unzip -qq -n ngrok-stable-linux-amd64.zip
#Setup sshd
You can’t perform that action at this time.