WassimBenzarti / colab-ssh

Connect to Google Colab using SSH
https://pypi.org/project/colab-ssh/
MIT License
993 stars 127 forks source link

init_git_cloudflared asking for github username and password #90

Closed JayThibs closed 3 years ago

JayThibs commented 3 years ago

Describe the bug Last night I was able to use colab-ssh locally, but now init_git_cloudflared is asking me for my GitHub username and password. This makes it impossible to connect with init_git_cloudflared because we can't connect to GitHub via username and password anymore (we need to use the personal access token, which is what I've been using).

So, even if you put in your username and password, you will get an error saying you need to use a personal access token.

I'm not sure if this is a cloudflare issue or something else entirely. The exact same code was working last night.

To Reproduce Steps to reproduce the behavior: launch_ssh_cloudflared(password) init_git_cloudflared(git_repo + ".git", personal_token=os.getenv('GITHUB_ACCESS_TOKEN'), branch="main", email="email", username="username"

Expected behavior It should give me an output message like "successfully cloned git repo to ./."

Screenshots

Screen Shot 2021-09-27 at 3 08 46 PM
JayThibs commented 3 years ago

Nevermind, I changed the location of my mounted gdrive, but did not change the location of my .env filepath.