Skip to content

Instantly share code, notes, and snippets.

Yoel Ramos yoelrc88

  • Miami. FL
Block or report user

Report or block yoelrc88

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
yoelrc88 /
Last active Apr 29, 2019 — forked from creotiv/gist:d091515703672ec0bf1a6271336806f0
script to ssh into colab notebook
#Generate root password
import random, string
password = ''.join(random.choice(string.ascii_letters + string.digits) for i in range(20))
#Download ngrok
! wget -q -c -nc
! unzip -qq -n
#Setup sshd
! apt-get install -qq -o=Dpkg::Use-Pty=0 openssh-server pwgen > /dev/null
#Set root password
You can’t perform that action at this time.