Skip to content

Commit

Permalink
Update Cloudtopolis.ipynb
Browse files Browse the repository at this point in the history
  • Loading branch information
JoelGMSec authored Mar 31, 2022
1 parent e4e3a65 commit 0f646a1
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions Cloudtopolis.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,7 @@
"cell_type": "code",
"execution_count": null,
"metadata": {
"id": "cl0udt0p0l1s",
"colab_type": "code",
"colab": {}
"id": "cl0udt0p0l1s"
},
"outputs": [],
"source": [
Expand Down Expand Up @@ -192,7 +190,10 @@
"# [ Connecting with Cloudtopolis Server ]\n",
"!echo -e \"\\n\\e[34;1m[i] Connecting with Cloudtopolis Server..\\e[0m\"\n",
"if not VPS:\n",
" auth.authenticate_user()\n",
" try:\n",
" auth.authenticate_user()\n",
" except:\n",
" !gcloud auth login --quiet\n",
" !echo -e \"\\e[0mCloud Shell Mode enabled!\"\n",
" !gcloud cloud-shell --quiet ssh --ssh-flag=\"-o TCPKeepAlive=yes\" --ssh-flag=\"-N\" --ssh-flag=\"-T\" --ssh-flag=\"-C\" --ssh-flag=\"-L 8000:localhost:8000\" --ssh-flag=\"-4\" </dev/null &>/dev/null &\n",
"\n",
Expand Down

0 comments on commit 0f646a1

Please sign in to comment.