docs.github.com
Generating a new SSH key and adding it to the ssh-agent - GitHub Docs
Error: Bad file number. Error: Key already in use.When adding your SSH key to the agent, use the default macOS ssh-add command, and not an application installed by macports, homebrew, or some other external source.