You can now use git like you would on any other operating system. Hi ! You've successfully authenticated, but GitHub does not provide shell access. Press enter at this prompt and plink will respond with Server refused to allocate pty Press 'y' in response to this prompt and plink will continue with Using username "git".Īccess granted. If you do not trust this host, press Return to abandon the If you want to carry on connecting just once, without If you trust this host, enter "y" to add the key to Have no guarantee that the server is the computer you Run plink and wait for the fingerprint prompt The server's host key is not cached in the registry. You wont need to do this again on the same machine unless changes their server fingerprint (unlikely, but possible). Unfortunately git doesn't pass the keyboard input back to plink so you'll need to do a one-time connection to in order to get plink to add the fingerprint to the known_hosts file. PuTTY / plink needs to verify the host before it lets you attach to it. If your key is password protected, pageant will ask you to enter your password. Run pageant your_key.ppk (replace ' your_key.ppk' with the path and name of your PuTTY key file). This needs to be a new command prompt, after you added the environment variable, so the GIT_SSH value is set. Open a new command prompt for the following steps. Set the value to the full path for plink.exe, for example C:\Program Files\PuTTY\plink.EXE.In the new dialog that appears create a new user or system environment variable named GIT_SSH.Press the ' Environment Variables' button at the bottom of the window.Alternately, you can just get the "PLink" and "Pageant" executables from the same page and save them somewhere in your path.Īdd a new user or system environment variable: The PuTTY tools include an identity manager and an SSH replacement.ĭownload and install PuTTY using the MSI installer package from the PuTTY download page. To make things easier, we can tell git to use the PuTTY tools rather than the built in ssh client.
0 Comments
Leave a Reply. |