Bad configuration option: identifyFile

Created at

2020.5.24

When I tried to connect via SSH, the connection was refused.

terminal
$ ssh username@example.com
/Users/username/.ssh/config: line 4: Bad configuration option: identifyfile
/Users/username/.ssh/config: terminating, 1 bad configuration options

There seems to be an error in config.

~/.ssh/config
Host github.com
  AddKeysToAgent yes
  UseKeychain yes
  IdentifyFile ~/.ssh/id_rsa</pre>

I don't even remember setting it, but the IdentifyFile in line 4 is correctly IdentityFile.

Reference: Github SSH config | Stack Overflow

mktia's note

Research & Engineering / Blockchain / Web Dev

© 2017-2025 mktia. All rights reserved.