Git and github for beginners video on youtube help

So I’m currently doing the Data Analysis with Python curriculum and I’m learning everything that has to do with it. I took what I thought would be a short detour to learn how git and GitHub worked since there were exercises on it and I’m a beginner and didn’t know how to use it. I found freecodecamp’s git and GitHub for beginners crash course video on Youtube and started to learn from there. However, I’ve been dealing with an issue with the ssh-agent part of the video [Git and GitHub for Beginners - Crash Course - YouTube] in this part she adds the ssh key to the ssh-agent. However, when I try to do the same thing according to the directions(on my Windows btw), I get an error. I’m trying to launch the ssh-agent using the instructions in the link she posted Generating a new SSH key and adding it to the ssh-agent - GitHub Docs but errors keep coming up:
unable to start ssh-agent service, error :1058
eval : The term ‘eval’ is not recognized as the name of a cmdlet, function,
script file, or operable program. Check the spelling of the name, or if a path
was included, verify that the path is correct and try again.
At line:1 char:1

  • eval “$(ssh-agent -s)”
  •   + CategoryInfo          : ObjectNotFound: (eval:String) [], CommandNotFoun 
     dException
      + FullyQualifiedErrorId : CommandNotFoundException
    

I have no idea what this means or how to rectify this.
Also, when I try to skip this step altogether and just add my ssh key to the ssh-agent(after putting in the first command to start the ssh-agent in the background), it says this:
Error connecting to agent: No such file or directory
This isn’t the case as the private and public key files are very much in my directory to the side. I’m also new to VScode so I can’t figure out what’s wrong on that end either. Kindly assist, please.

Run it using Git Bash that you got when installing Git for Windows.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.