Reply
Thread Tools
Posts: 1,463 | Thanked: 1,916 times | Joined on Feb 2008 @ Edmonton, AB
#1
trying to connect to the git repository via windows "git extensions"
it always rejects the key.
the instructions are pretty bad, it doesn't say exactly what type of key to generate.

I'm guessing that i am supposed to use the instructions for "Setting up SSH to upload to extras", so i generated the key in Ubuntu and imported it into PuTTY. After all that, it still doesn't work.

it does say "The keys are only relevant if you have maemo extras upload account" so i've requested that too... but does anyone know if that's even the problem? it makes about zero sense to request permission to upload to extras before i can even get the repository set up.

Code:
C:\Program Files (x86)\GitExtensions\PuTTY>plink -T -v drop.maemo.org
Looking up host "drop.maemo.org"
Connecting to 80.248.164.251 port 22
Server version: SSH-2.0-OpenSSH_5.1p1 Debian-5
Using SSH protocol version 2
We claim version: SSH-2.0-PuTTY_Snapshot_2009_01_18:r8411
Doing Diffie-Hellman group exchange
Doing Diffie-Hellman key exchange with hash SHA-256
Host key fingerprint is:
ssh-rsa 2048 e0:29:3e:e4:df:09:95:d2:9f:9b:8d:ab:39:16:a7:cb
Initialised AES-256 SDCTR client->server encryption
Initialised HMAC-SHA1 client->server MAC algorithm
Initialised AES-256 SDCTR server->client encryption
Initialised HMAC-SHA1 server->client MAC algorithm
Pageant is running. Requesting keys.
Pageant has 1 SSH-2 keys
login as: creamyg
Trying Pageant key #0
Server refused public key
Disconnected: No supported authentication methods available
FATAL ERROR: Disconnected: No supported authentication methods available

Last edited by Creamy Goodness; 2010-09-06 at 07:32.
 
mece's Avatar
Posts: 1,111 | Thanked: 1,985 times | Joined on Aug 2009 @ Åbo, Finland
#2
did you also put your private key in your garage account? https://garage.maemo.org/account/
__________________
Class .. : Meddler, Thread watcher, Developer, Helper
Humor .. : [********--] Alignment: Pacifist
Patience : [*****-----] Weapon(s): N900, N950, Metal music
Agro ... : [----------] Relic(s) : N95, NGage, Tamyia Wild One

Try Tweed Suit for your hardcore twittering needs
http://twitter.com/mece66
I like my coffee black, like my metal.
 
Posts: 1,463 | Thanked: 1,916 times | Joined on Feb 2008 @ Edmonton, AB
#3
nooooooo
the box says "Your public SSH key(s)"
plus, the key wouldn't be very private if i gave it away, lol
 
Posts: 1,463 | Thanked: 1,916 times | Joined on Feb 2008 @ Edmonton, AB
#4
the connection test gets further now that i've accepted the extras upload invitation...
doesn't really look like it's working yet though:
Code:
login as: creamyg
Trying Pageant key #0
Authenticating with public key "imported-openssh-key" from agent
Sending Pageant's response
Access granted
Opened channel for session
Started a shell/command
This is a restricted account.
You cannot execute anything here.
Not enough arguments.
Goodbye.
Server sent command exit status 1
Disconnected: All channels closed
 
Posts: 1,463 | Thanked: 1,916 times | Joined on Feb 2008 @ Edmonton, AB
#5
i dunno, this is as far as i can get:
i set the 'url' to "creamyg@drop.maemo.org:git/monky"
test connection still fails, but if i try a push,

c:\Program Files (x86)\Git\cmd\git.cmd push "drop.maemo.org" master:master
fatal: 'git/monky': unable to chdir or not a git archive
fatal: The remote end hung up unexpectedly

maybe i have to init the remote some other way first, then clone it. if anyone knows, let me know. this is such a waste of my time...
 
Posts: 1,463 | Thanked: 1,916 times | Joined on Feb 2008 @ Edmonton, AB
#6
okay i got it
damn thing just needed another slash!
changed 'url' to "creamyg@drop.maemo.org:/git/monky"
hopefully i don't make a big mess now, i still don't know how to use this thing. i did a force push to the master branch.
 
Reply


 
Forum Jump


All times are GMT. The time now is 02:12.