Skip to content

This is regarding SSH-Key for Windows version, hope it helps :)

License

Notifications You must be signed in to change notification settings

Michelle-Lohwt/SSH-Key-for-Windows

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 

Repository files navigation

SSH-Key-for-Windows

This is regarding SSH-Key for Windows version, hope it helps :)

Main Reference: Git and GitHub for Beginners - Crash Course

Author: Michelle Loh

Main Reference Recap

  1. 14:30 cloning through VS Code - git clone ssh from github
  2. 17:30 git commit command - git status
  3. 18:15 git add command - git add.
  4. 19:15 committing - git commit -m "Title of changes" -m "Some descriptions"
  5. 20:20 git push command - git push
  6. 20:30 SSH Keys
    1. Generating SSH key

      Create a new key OR a. Key in

      ssh-keygen -t rsa -b 4096 -C "[email protected]"
      b. Enter the key name(Let say you enter the key as thekey)

      Already have a key a. Key in (Let say you enter the key as thekey)
      ssh-keygen -t rsa -b 4096 -C "[email protected]"
      

      b. Choose whether to overwrite the key

      THEN
      Enter the passphrase
          Enter passphrase (empty for no passphrase): [Type a passphrase]
          Enter same passphrase again: [Type passphrase again]
      

      (if no passphrase just leave it empty by clicking on the "Enter" key)

    2. Check whether the SSH key is generated

      ls OR a. Key in
      ls
      

      b. Notice that the last 2 rows are the generated key

      thekey -- private (only you can access)
      thekey.pub -- public (open to the public to access)
      
      ls -al ~/the-key-name.pub a. Key in
      ls -al ~/the-key-name.pub
      

      (change the-key-name to the name you generated)
      In our case will be:

      ls -al ~/thekey.pub
      
    3. Copy the public key

References

Reference Links 1. Learn Git and Git Hub
2. Setup Username and Email with Git and GitHub in Visual Studio Code on Windows
3. Connecting to GitHub with SSH
    1. Checking for existing SSH keys
    2. Generating a new SSH key and adding it to the ssh-agent
    3. Adding a new SSH key to your GitHub account
    4. Testing your SSH connection
    5. Working with SSH key passphrases
    6. Auto-launching ssh-agent on Git for Windows
    7. Error: Permission denied (publickey)
4. How can I delete all SSH keys from my Mac
5. Start ssh-agent on login

About

This is regarding SSH-Key for Windows version, hope it helps :)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published