When trying to connect to Github on a new (I’m the first to try) Windows work computer, I’m getting this error:
permission denied (Public Key)
Following instructions on Github, I then tried
ssh -vT git@github.com
This told me that
ssh is not recognized as an internal or external command, operable program or batch file
Googling that, I found out that this message means “ssh is not in the PATH”.
Trying to add it to my path, I found
Variable name: Path
Variable value: :\Program Files (x86)\Windows Live\Shared
What exactly do I enter to add ssh to the path. I’m not sure if it’s
:\Program Files (x86)\Windows Live\Shared\ssh.exe
or something else…
You need to locate the directory that ssh.exe is in.
You then need to go into System Properties (hit WINDOWS KEY+PAUSE), go to Advanced system settings, click Environment Variables…
Scroll down in the scrolling window at the bottom, until you see “Path” under “Variable”. Click it, click Edit…
Go to the end of the value, add a semi-colon if one isn’t there already, and type the path to the directory that ssh.exe is in.