Home > database >  Use a specific SSH for a repository. sshCommand - fatal: bad config line in file ./config
Use a specific SSH for a repository. sshCommand - fatal: bad config line in file ./config

Time:03-11

I'm trying to configure a specific repository to use a specific SSH by add sshCommand property to REPOSITY_FOLDER/.git/config file

enter image description here

But can't make it work.

What do I do wrong?

p.s. on Windows

CodePudding user response:

Solved. Had to change \ to / in the path of SSH

  • Related