Problems pushing

$ git push -u origin main
/c/Users/Rob/.ssh/config: line 1: Bad configuration option: ssh-add
/c/Users/Rob/.ssh/config: terminating, 1 bad configuration options
fatal: Could not read from remote repository.

It looks like your SSH configuration is broken. ssh-add is a command used to manage keys in the SSH agent, not a configuration option.

Check your SSH configuration file. If you need more debug info, try this command: ssh -vT git@github.com

If you need more help best share your SSH config and the output of that command, but first check if there’s any private information in them and censor it if necessary. :slightly_smiling_face:

1 Like

Thank you will look into it.

1 Like

Thank you for your help. I figured out what to fix because of my error.

1 Like