[GitHelp] Sandbox library to GitHub

Under Windows following the instructions at https://svn.boost.org/trac/boost/wiki/ExtractSandbox for moving an SVN sandbox library to GitHub I am successful in the first step of cloning SVN sandbox library to a temporary local directory. But when I go to that local directory and try: git push --mirror git@github.com:eldiener/variadic_macro_data.git I receive a PuTTY message of: "Disconnected: No supported authentication methods available (server sent: publickey)" I have no idea how PuTTY gets into this. I am using TortoiseGit and Git for Windows and evidently getting Git to work under Windows is difficult in some way. Anybody have any idea how to straighten this out ?

On Wed, Dec 26, 2012 at 7:45 AM, Edward Diener <eldiener@tropicsoft.com> wrote:
Under Windows following the instructions at https://svn.boost.org/trac/boost/wiki/ExtractSandbox for moving an SVN sandbox library to GitHub I am successful in the first step of cloning SVN sandbox library to a temporary local directory. But when I go to that local directory and try:
git push --mirror git@github.com:eldiener/variadic_macro_data.git
I receive a PuTTY message of:
"Disconnected: No supported authentication methods available (server sent: publickey)"
I have no idea how PuTTY gets into this. I am using TortoiseGit and Git for Windows and evidently getting Git to work under Windows is difficult in some way.
Anybody have any idea how to straighten this out ?
Perhaps you didn't set up a ssh public key? https://help.github.com/articles/generating-ssh-keys#platform-windows You will also have to add the key to TortoiseGit/PuTTY.

2012/12/26 Andrey Semashev <andrey.semashev@gmail.com>:
On Wed, Dec 26, 2012 at 7:45 AM, Edward Diener <eldiener@tropicsoft.com> wrote:
Under Windows following the instructions at https://svn.boost.org/trac/boost/wiki/ExtractSandbox for moving an SVN sandbox library to GitHub I am successful in the first step of cloning SVN sandbox library to a temporary local directory. But when I go to that local directory and try:
git push --mirror git@github.com:eldiener/variadic_macro_data.git
I receive a PuTTY message of:
"Disconnected: No supported authentication methods available (server sent: publickey)"
I have no idea how PuTTY gets into this. I am using TortoiseGit and Git for Windows and evidently getting Git to work under Windows is difficult in some way.
Anybody have any idea how to straighten this out ?
Perhaps you didn't set up a ssh public key?
https://help.github.com/articles/generating-ssh-keys#platform-windows
You will also have to add the key to TortoiseGit/PuTTY.
If you push over HTTPS, you don't need an ssh key. git push --mirror https://github.com/eldiener/variadic_macro_data.git You will need to type in your github username and password. Also, you may have a look at http://windows.github.com/ -- Daniel

On 12/26/2012 5:10 AM, Daniel Pfeifer wrote:
2012/12/26 Andrey Semashev <andrey.semashev@gmail.com>:
On Wed, Dec 26, 2012 at 7:45 AM, Edward Diener <eldiener@tropicsoft.com> wrote:
Under Windows following the instructions at https://svn.boost.org/trac/boost/wiki/ExtractSandbox for moving an SVN sandbox library to GitHub I am successful in the first step of cloning SVN sandbox library to a temporary local directory. But when I go to that local directory and try:
git push --mirror git@github.com:eldiener/variadic_macro_data.git
I receive a PuTTY message of:
"Disconnected: No supported authentication methods available (server sent: publickey)"
I have no idea how PuTTY gets into this. I am using TortoiseGit and Git for Windows and evidently getting Git to work under Windows is difficult in some way.
Anybody have any idea how to straighten this out ?
Perhaps you didn't set up a ssh public key?
https://help.github.com/articles/generating-ssh-keys#platform-windows
You will also have to add the key to TortoiseGit/PuTTY.
If you push over HTTPS, you don't need an ssh key.
That sounds like what I want to do. The whole low-level business of generating public/private keys, when I already have signed up for GitHub with a username/password, seems silly to me. I know the Linux gurus all love this kind of intricate stuff, but I do not.
git push --mirror https://github.com/eldiener/variadic_macro_data.git
You will need to type in your github username and password.
That worked fine. But I will bet that there is probably some way of passing the git command directly via TortoiseGit which I haven't figured out yet, which would have also solved my problem. Unfortunately the TortoiseGit doc mostly says "see git" for just about everything beyond the most basic usage. It is still a large step behind TortoiseSVN in its documentation of how to use it.
Also, you may have a look at http://windows.github.com/
Thanks for the excellent link.

On Wed, Dec 26, 2012 at 1:35 AM, Andrey Semashev <andrey.semashev@gmail.com> wrote:
On Wed, Dec 26, 2012 at 7:45 AM, Edward Diener <eldiener@tropicsoft.com> wrote:
Under Windows following the instructions at https://svn.boost.org/trac/boost/wiki/ExtractSandbox for moving an SVN sandbox library to GitHub I am successful in the first step of cloning SVN sandbox library to a temporary local directory. But when I go to that local directory and try:
git push --mirror git@github.com:eldiener/variadic_macro_data.git
I receive a PuTTY message of:
"Disconnected: No supported authentication methods available (server sent: publickey)"
I have no idea how PuTTY gets into this. I am using TortoiseGit and Git for Windows and evidently getting Git to work under Windows is difficult in some way.
Anybody have any idea how to straighten this out ?
Perhaps you didn't set up a ssh public key?
https://help.github.com/articles/generating-ssh-keys#platform-windows
You will also have to add the key to TortoiseGit/PuTTY.
I added a hint to a couple of the doc pages to hopefully make that clearer. --Beman

On 12/26/2012 10:18 AM, Beman Dawes wrote:
On Wed, Dec 26, 2012 at 1:35 AM, Andrey Semashev <andrey.semashev@gmail.com> wrote:
On Wed, Dec 26, 2012 at 7:45 AM, Edward Diener <eldiener@tropicsoft.com> wrote:
Under Windows following the instructions at https://svn.boost.org/trac/boost/wiki/ExtractSandbox for moving an SVN sandbox library to GitHub I am successful in the first step of cloning SVN sandbox library to a temporary local directory. But when I go to that local directory and try:
git push --mirror git@github.com:eldiener/variadic_macro_data.git
I receive a PuTTY message of:
"Disconnected: No supported authentication methods available (server sent: publickey)"
I have no idea how PuTTY gets into this. I am using TortoiseGit and Git for Windows and evidently getting Git to work under Windows is difficult in some way.
Anybody have any idea how to straighten this out ?
Perhaps you didn't set up a ssh public key?
https://help.github.com/articles/generating-ssh-keys#platform-windows
You will also have to add the key to TortoiseGit/PuTTY.
I added a hint to a couple of the doc pages to hopefully make that clearer.
Maybe you can mention using https rather than http to avoid the need for ssh keys with GitHub.

On 12/26/2012 1:35 AM, Andrey Semashev wrote:
On Wed, Dec 26, 2012 at 7:45 AM, Edward Diener <eldiener@tropicsoft.com> wrote:
Under Windows following the instructions at https://svn.boost.org/trac/boost/wiki/ExtractSandbox for moving an SVN sandbox library to GitHub I am successful in the first step of cloning SVN sandbox library to a temporary local directory. But when I go to that local directory and try:
git push --mirror git@github.com:eldiener/variadic_macro_data.git
I receive a PuTTY message of:
"Disconnected: No supported authentication methods available (server sent: publickey)"
I have no idea how PuTTY gets into this. I am using TortoiseGit and Git for Windows and evidently getting Git to work under Windows is difficult in some way.
Anybody have any idea how to straighten this out ?
Perhaps you didn't set up a ssh public key?
https://help.github.com/articles/generating-ssh-keys#platform-windows
Thanks for the link. Evidently https works fine, but maybe I need ssh keys for other purposes still.
You will also have to add the key to TortoiseGit/PuTTY.
OK. I did get some help with that on the Git for Windows forum.
participants (4)
-
Andrey Semashev
-
Beman Dawes
-
Daniel Pfeifer
-
Edward Diener