Optionally input a title under Title (e.g., CS50).Įnter “yes” and press enter if you see the following prompt (the IP address might be different): Paste your public key into the text box under Key. Don’t use the passphrase you just created, if any. Visit, logging in with your GitHub username and password as usual. But don’t highlight your terminal window’s prompts (which contain $) before or after those lines. Highlight and copy all of those lines, starting with ssh-rsa to the end. You’ll then see your “public key,” multiple lines of seemingly random text. You’ll then see a “randomart image” that you can ignore.Įxecute cat ~/.ssh/id_rsa.pub. For security’s sake, you won’t see what you type. Otherwise, input a passphrase (that you won’t forget!), then hit Enter, then input it again, then hit Enter again. If you only use your GitHub account for CS50, no need to input a passphrase just hit Enter. You’ll then be prompted for a “passphrase” (i.e., password). When prompted to “save the key,” just hit Enter, without typing anything. Open a terminal window, if not open already, within Visual Studio Code, CS50 IDE, CS50 Sandbox, or CS50 Lab.Įxecute ssh-keygen. Odds are you’ll find SSH more convenient for Visual Studio Code and CS50 IDE, and personal access tokens more convenient for CS50 Sandbox and CS50 Lab. As of August 13, 2021, that’s no longer possible, which means you can no longer use check50 or submit50 using your GitHub username and password either.īut you can still use check50 and submit50! You just need to log in a bit differently, either using SSH or a personal access token. To push (i.e., save) your code to GitHub using git, it used to be possible to log into GitHub via a command line (as in a terminal window) using a GitHub username and password. Tools like check50 and submit50 rely on git, a popular tool for saving different versions of code, and GitHub, a popular website for saving those versions in the cloud.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |