Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1107903
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T02:00:09+00:00 2026-05-17T02:00:09+00:00

i use github and have successfully added and synched files on my laptop in

  • 0

i use github and have successfully added and synched files on my laptop in the past.

as of recent i started getting “PuTTY Fatal Error: Disconnected: No supported authentication methods available” after running:

git pull origin master (or push)

however

ssh git@github.com returns the correct response:
ERROR: Hi username! You’ve successfully authenticated, but GitHub does not provide shell access
Connection to github.com closed.

after digging around on github i found this morcel:

No supported authentication methods available
You should be aware of the environment variable GIT_SSH, which is used by git to find your ssh-speaking client, if ssh doesn’t work for you. The git install may be using plink.exe (via GIT_SSH) to perform the authentication. If so, make sure you have pageant.exe running, and the key you created for github loaded into it. This provides the key to plink.exe; without it, the above error will occur.

not sure what plink.exe or peagant.exe is.. and the fact that ssh git@github.com seems to authenticate correctly makes me wonder what the best solution here is.. i certainly don’t want to overcomplicate my setup if not necessary.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-17T02:00:10+00:00Added an answer on May 17, 2026 at 2:00 am

    You can create a file named “.profile” in your home directory, for me that’s C:\Users\[user]

    Inside that file, put the following line of code:

    GIT_SSH="/usr/bin/ssh.exe"
    

    This will set the GIT_SSH environment variable to use the ssh client included with git.

    The .profile script gets executed when you start your Git Bash command line.

    Edit:
    This is my .profile. It will ask you for your password the first time you start the git command prompt, then will remember it from then on, until you reboot your computer. Very handy so you don’t have to keep entering your password each time you want to do something.

    SSH_ENV="$HOME/.ssh/environment"
    GIT_SSH="/usr/bin/ssh.exe"
    
    function start_agent {
    echo "Initializing new SSH agent..."
    /usr/bin/ssh-agent | sed 's/^echo/#echo/' > "${SSH_ENV}"
    echo succeeded
    chmod 600 "${SSH_ENV}"
    . "${SSH_ENV}" > /dev/null
    /usr/bin/ssh-add;
    }
    
    # Source SSH settings, if applicable
    if [ -f "${SSH_ENV}" ]; then
    . "${SSH_ENV}" > /dev/null
    #ps ${SSH_AGENT_PID} doesn't work under cygwin
    ps -ef | grep ${SSH_AGENT_PID} | grep ssh-agent$ > /dev/null || {
    start_agent;
    }
    else
    start_agent;
    fi
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have just started to use Github and have been doing some tests with
Is it possible to use a public repository like github and have a branch
I have 2 python scripts https://gist.github.com/2233477 . rsgen.py generates random inputs for use in
I have been trying to learn to use github, it has been fine until
I have a gitosis server at work, and I also use github for personal
I'm just getting started using GitHub, Gerrit, and Hudson(Jenkins) together. And I need some
I have a Github repo that I use for a specific project. I now
Is it possible to use GitHub and if necessary my own vServer to build
I decided to learn how to use github about a month ago, and I
Because I don't want to spend +$12 for the simple-to-use github.com private hosting, I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.