I am setting my systems for codecommit. but getting following error
I followed the below link : https://docs.aws.amazon.com/codecommit/latest/userguide/setting-up-ssh-windows.html
/c/Users/Prasanna/.ssh/config: line 1: Bad configuration option: \377\376h /c/Users/Prasanna/.ssh/config: terminating, 1 bad configuration options
here is the config file Host git-codecommit.*.amazonaws.com User ******** IdentityFile ~/.ssh/codecommit_rsa
Am I missing anything to configure ?
You probably have some illegal characters in the config
file. I had this problem while creating a config
file on Windows. Unfortunately, simply opening the file in a Windows text editor may not show the illegal characters.
I was able to find this problem by running cat filename
from a Bash prompt in Windows (git bash) and was able to fix it by running dos2unix filename
in git bash
. The same may work for you as well.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With