This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# create an account on ngrok is not already and copy the authtoken and | |
wget https://bin.equinox.io/c/4VmDzA7iaHb/ngrok-stable-linux-amd64.zip | |
touch mypass.txt | |
unzip ngrok-stable-linux-amd64.zip | |
read -p 'Enter the authtoken from ngrok :' authtoken | |
./ngrok authtoken $authtoken #for example ZT64bWYnXTAsJej4FNFTdsjhsuAQqKqZHn2Sh4g2sfAD | |
./ngrok tcp 22 & | |
apt-get install -qq -o=Dpkg::Use-Pty=0 openssh-server pwgen | |
mkdir -p /var/run/sshd | |
echo "PermitRootLogin yes" >> /etc/ssh/sshd_config && echo "PasswordAuthentication no" >> /etc/ssh/sshd_config |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pip3 install jupyterlab && apt install tmux | |
wget https://github.com/cdr/code-server/releases/download/3.4.1/code-server-3.4.1-linux-x86_64.tar.gz | |
tar -xzvf code*.tar.gz | |
rm code*.tar.gz |