New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Untitled #14
Comments
Hi Gregg, I'm afraid I don't use Windows so I'm not too familiar with pscp, but it sounds like it isn't picking up your SSH key. Googling "pscp" brought me to the manual. At the very bottom it explains that you may either need to use the "-i" option to pass it a keyfile or run "pageant". http://the.earth.li/~sgtatham/putty/0.60/htmldoc/Chapter5.html Please let me know if that does or doesn't help, so that if it does help I can update the documentation and if it doesn't we can try something else. Thanks, Alex |
I'm afraid I am using Windows, which increasingly seems to be the problem. This time I got the following: [C:\tech\cljprojects\piccolo2dcore-to-clojars]pscp -i id_rsa piccolo2dcore-1.3.j I tried using a private key in the Putty format (which this pscp seems to need), but I couldn't get clojars.org to except the public key, which it said was invalid. I then tried using a GUI program, WinSCP, and after figuring out how to manipulate the GUI, it seemed to recognize the private/public keys, but aborted the process because it didn't understand the WinSCP program; it suggested that I use bash.if you can't think of anything else, I will install cygwin (which I haven't had much luck with) and try that way. You know, I decided on using Windows instead of MacOS X because I thought these kinds of problems would be solved for such a much-used system. I'm beginning to doubt that. Thanks again for your help. --Gregg |
More Windows ranting: Things work add-minimum@user-f38f1ebc55 /cygdrive/C/tech/cljprojects/piccolo2dcore-to-clojar When I explicitly added the private key file with the -i option, here's what happened: add-minimum@user-f38f1ebc55 /cygdrive/C/tech/cljprojects/piccolo2dcore-to-clojar add-minimum@user-f38f1ebc55 /cygdrive/C/tech/cljprojects/piccolo2dcore-to-clojar Worked the FIRST time (the file showed up in my clojars account)! The Wikipedia entry on scp said two things of interest. First, it said that Windows GUI clients often don't work (matches my experience!). Second, it said, "The SCP protocol has been superseded by the more comprehensive SFTP protocol, which is also based on SSH." I don't know if that makes a difference to you or not. But if you update the command line example on the Pushing page to add the -i flag, that will certainly help. I also invite you to consider adding something about how users may have problems with various Windows solutions for scp, and recommending using Cygwin in the first place. Thanks for your excellent support, and for Clojars.org! --Gregg |
Hi--I've read the documentation at http://github.com/ato/clojars-web/wiki/Pushing quite carefully, and I'm pretty sure that I followed the directions correctly. Still I get the following error:
[C:\tech\cljprojects\piccolo2dcore-to-clojars]pscp pom.xml piccolo2dcore-1.3.jar
clojars@clojars.org:
Fatal: Disconnected: No supported authentication methods available (server sent:
publickey)
BTW, pscp is a scp command that is part of PuTTY on Windows.
Here is what's in the pom.xml file:
4.0.0 org.clojars.gw666 piccolo2dcore 1.3 piccolo2dcore-1.3 core library for Piccolo2D graphics library clojars http://clojars.org/repo/ ##
Any ideas on where the error is? I've spent about two hours on this.
Thanks for your help.
--Gregg Williams, gregg AT innerpaths DOT net
The text was updated successfully, but these errors were encountered: