LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-09-2012, 11:43 PM   #1
Siljrath
Bedrock Linux Advocate
 
Registered: Nov 2004
Location: the internet
Distribution: server:Gentoo | workstation:Bedrock (hijacked:void, fetched:Gentoo,Devuan,Artix)
Posts: 226

Rep: Reputation: 66
Question publickey fails, denied access to git push


okies, time to write out this as a question, see if i can clarify my situation to myself n find a solution, or at least then have a presentable question for other peeps to be able to help me with.

so, in general, what i'm doing is putting my witchcraft script up on git.

i had an oooold key there [on my github account] with a passphrase i'd long forgotten... so trying to put up a new key... this has not been going well.

when i try to push. ( git push -u origin master ) i keep getting:

Code:
Permission denied (publickey).
fatal: The remote end hung up unexpectedly

most unpleasant


i've tried new dsa and rsa keys, i've tried putting in a specific ~/.ssh/config telling git where it's special key is. like so:


Code:
Host github.com HostName github.com
User git
IdentityFile /home/user/.ssh/id_rsa_github

... no joy. where am i going wrong?

i ssh-keygen a key, i paste the .pub key contents into the appropriate section on github with some name to help me remember which key that is... what else is there that i'm missing?

i've even tried deleting all keys from github, and moving all my keys on my computer to a bkp dir, so i have a clean slate, and still:

Code:
Permission denied (publickey).
fatal: The remote end hung up unexpectedly
Code:
Permission denied (publickey).
fatal: The remote end hung up unexpectedly
Code:
Permission denied (publickey).
fatal: The remote end hung up unexpectedly
unexpectedly indeed. or at least it was early on. now i kinda expect it when it's unexpected [when it 'should' 'just work'].

at least when it was the one i've forgotten the passphrase to, i felt like i was closer, in that i just kept having to try to remember what passphrase i'd have used. :/ heelp! ^_^

OH! it's not that bloody type1 and type2 thing is it? :O

ok, yeah, i'm lost, i'm posting this as is.

much thnx to any techno mage who helps get me pushing to git.

i'll be watching this one closely. incase it slips my attention, or if you want to get my attention faster, i'm in #witchlinux on irc.freenode.net. much thnx.

Last edited by Siljrath; 02-09-2012 at 11:47 PM. Reason: just minor clean-ups
 
Old 02-10-2012, 03:50 AM   #2
Siljrath
Bedrock Linux Advocate
 
Registered: Nov 2004
Location: the internet
Distribution: server:Gentoo | workstation:Bedrock (hijacked:void, fetched:Gentoo,Devuan,Artix)
Posts: 226

Original Poster
Rep: Reputation: 66
egg on face.

it seems after incrementally trying a number of things, it turns out, or it seems at least... i just wasnt pasting it in correctly. *facepalm* (thnx for your help jb)
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] git push in a git-init without --bare option? xeon123 Linux - Newbie 1 06-27-2011 03:44 AM
[SOLVED] ssh killing me :( Permission denied (publickey) grail Linux - Newbie 10 07-06-2010 10:47 AM
ssh client say me Permission denied.(publickey). linderox Linux - Networking 2 02-27-2008 09:36 AM
Permission denied (publickey,password,keyboard-interactive) cccc Linux - General 3 05-31-2007 05:32 PM
Permission denied (publickey,password,keyboard-interactive). rockymaxsource Linux - Networking 3 04-27-2007 08:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:17 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration