[SOLVED] Can't push to github (openssh-askpass fails to authenticate)

Greetings
I am having trouble pushing to github. I have added my public key to github
and checked that it works using
ssh -T [email protected]
When I try to use git to do a git push origin master I get a password prompt
dialog from openssh-askpass. I tried removing openssh-askpass but it seems
there is not fallback as I get an error of it missing.
There are two dialogs that pop up and I think they don't do the same thing
even though they both ask the same thing viz "enter your ssh passphrase"
I think the first one is actually asking for my username and the second one
is the passphrase. I have tried entering "git" as a username, my github
username and my passphrase as instructed and this all fails to authenticate.
I also can't find where the logs are for openssh. I did
tail -f /var/log/*
and nothing changes while try to login.
Is there a configuration for git to use openssh-askpass which was added
that I missed?
Which logs should I be looking at?
Last edited by lunamystry (2012-09-07 12:26:49)

This is my solution which seems to work:
After web searching the error I got, I found that there is an environment
variable GIT_ASKPASS and SSH_ASKPASS which launch whatever you tell
them to get the passphrase.
GIT_ASKPASS is not set by default and git calls SSH_ASKPASS instead.
One of them has to be set otherwise git (and I assume ssh if SSH_ASKPASS
is not set) will not use the passphrase but  will prompt for the password.
The password in my case was the github password. I installed ksshaskpass
because I am on KDE and that removed ssh_askpass and integrates with
KWallet. Here are the commands I used in case the above was not clear:
export SSH_ASKPASS=""
sudo pacman -S ksshaskpass
export GIT_ASKPASS="/usr/bin/ksshaskpass"
cd Projects/Scripts/
git push origin master
You obviously don't need the last two commands.

Similar Messages

  • When receiving an call waiting can't push the hold and answer button.Because: it will put on hold the first caller, answer to the second, but you can't hear the second until you end the first call !!! Anyone has the same problem ? Did anyone know why ?

    When receiving an call waiting can't push the hold and answer button.Because: it will put on hold the first caller, answer to the second, but you can't hear the second until you end the first call !!! Anyone has the same problem ? Did anyone know why ?

    Contact iTunes Customer Service and request assistance
    Use this Link  >  Apple  Support  iTunes Store  Contact

  • SIM Card Tray -- Can't Push It Back In

    As the subject says... I can't push the SIM card tray back in. The top portion of the stray sticks out and no matter how much force you use to push the tray back in... nothing.
    Anyone have any advice/tricks/tips?

    that would fall into a 100% applecare issue, they should have no problem fixing your phone, and you get the free apple paperclip lucky 1-800-myiphone

  • My apps freeze and I can't push the home button to get out of them.

    My apps freeze and I can't push the home button to get out of them.

    Try a reset. Hold the Sleep and Home button down for about 10 seconds until you see the Apple logo. Ignore the red slider.

  • HT201317 Is there a way to "stream" older photo's to my PC stored on my Iphone before I upset up "Photo Stream?  NOTE:  My Photo Stream "pushing function is working, but I can only push "new" photos to my PC.

    Is there a way to stream  "older" photos to my PC that were stored on my Iphone before I implemented "Photo Stream?  NOTE:  My Photo Stream "pushing" function is working, but I can only push "new" photos to my PC.

    It might not be streaming but have you considered copying the photos directly off the iphone onto your PC?  I plug my phone in via the USB cable like usual and in Windows Explorer, navigate to Computer\Apple iPhone\Internal Storage\DCIM\860xxxx  and there they are. Copy & paste and you have pictures.
    Hope it helps.

  • [solved] Can't boot with LVM and usb external disk

    I successfully installed Archlinux on my first computer, using LVM on two internal Hard Drives.
    I'm trying to do exactly the same on my second computer, but I got a problem: the LVM volume is not found at boot, so that the root partition can't be mounted and the boot fails.
    The only difference is that, on my second computer, the second hard drive is connected through USB.
    Some hints: my second computer boots perfectly with LVM and Ubuntu. Archlinux needs to be configured adequately.
    I tried to add rootdelay=30 in menu.lst, but it changes nothing. Of course, in /etc/rc.conf I have USELVM="yes" and in /etc/mkinitcpio.conf I have HOOKS="base udev autodetect pata scsi sata keymap lvm2 filesystems"
    Thank you for helping me to keep Archlinux on my second computer!
    Last edited by Achille (2008-06-29 21:59:09)

    I finally solved my problem!
    In the file /etc/mkinitcpio.conf, I modified the MODULES loaded:
    MODULES="pata_acpi ata_generic ata_piix usbcore usb_storage uhci_hcd ehci_hcd sg scsi_mod sd_mod dm_mod"
    I also add in the file /lib/initcpio/hooks/lvm2 the line /bin/sleep 10
    /bin/sleep 10
    msg "Scanning logical volumes..."
    And finally, I ran the command:
    mkinitcpio -p kernel26

  • I played both assistive touch and voiceover ....and I can't push my password because of the circle please help

    I can't push password number 1 and 4 because between these numbers there is a circle for assistive touch and also I played voiceover so it's difficult to push the numbers

    Gift cards are country specific.
    They can only be used inside the borders of the country of issue.

  • Hello The problem appeared two days ago is that I can't open my mail app. everything was fine and functional. Now I double click on the icon and it does not respond. it receives mail and I can see push notifications on the mail icon but when  I try t

    hello
    The problem appeared two days ago is that I can't open my mail app. everything was fine and functional. Now I double click on the icon and it does not respond. it receives mail and I can see push notifications on the mail icon but when  I try to open it is no use. OS Y 10.10.2 (14C1514)

    Please follow these directions to delete the Mail "sandbox" folder.
    Back up all data.
    Triple-click anywhere in the line below on this page to select it:
    ~/Library/Containers/com.apple.mail
    Right-click or control-click the highlighted line and select
              Services ▹ Reveal
    from the contextual menu.* A Finder window should open with a folder named "com.apple.mail" selected. If it does, move the selected folder—not just its contents—to the Desktop. Leave the Finder window open for now.
    Restart the computer. Launch Mail and test. If the problem is resolved, you may have to recreate some of your Mail settings. Any custom stationery that you created may be lost. Ask for instructions if you want to preserve that data. You can then delete the folder you moved and close the Finder window.
    Caution: If you change any of the contents of the sandbox, but leave the folder itself in place, Mail may crash or not launch at all. Deleting the whole sandbox will cause it to be rebuilt automatically.
    *If you don't see the contextual menu item, copy the selected text to the Clipboard by pressing the key combination  command-C. In the Finder, select
              Go ▹ Go to Folder...
    from the menu bar and paste into the box that opens by pressing command-V. You won't see what you pasted because a line break is included. Press return.

  • How high can i push my FSB w/ a RAID 0...

    i have 2 80gb seagate barracudas setup in a RAID 0, i was overclocking one fine day, when after some tweaking in the bios ( upping the fsb ) my windows failed to load.. i had a corrupt registry and soon no bootable harddrives... ;(  
    i now have my baby running at a nice fsb of 173.5 and a multiplier of 11.5 for a grand total of 1.995mhz...
    i keep reading that the barton 2500+ is capable of way more than this and im wondering how high can i push my FSB before having to do a reinstall of windows ...again...
    system specs...
    kt400 - 6590
    barton 2500+  currently @  11.5 * 173.5
    2 * 256 corsair 3200 LOW LATENCY
    2 * 80gb seagates in RAID 0
    windows xp pro sp1
    need any info i forgot..?? let me know..

    ahhhh, knew i left something out....
     my ps is an antec truepower 430....
     and unfortunely my videocard is a sapphire 8500..what a mistake...
    is this enough power to overclock...?? alot..?? my system seems to run stable now at about 33C idle and under a full load of gaming about 36C ... it has a slk800 w/ a tornado sitting on top...
    i did manage to kill one of these power supplies already but that was due to a short in a p.o.s cold cathode light... its been rma'd back since though....
    and the voltage on the cpu right now is as factory 1.66 according to fuzzy logic 4... but none the less it is set to auto in the bios....
    thx for the help

  • Can I push email from one mobilme acct and contacts and address from other?

    I have 2 mobilme accts - one my asst uses for y ical and address book and one I use for my personal email - can I push email from one mobilme acct and contacts and address from other? - I used to be able to on 2.0 but I cant seem to on 3.0...Any thoughts?
    Or is there a way to restrict access on mobilme acccounts so my asst can only see the ical and address book and not my email if we use one acct.

    Short answer, no, not on the iPhone itself.
    You can't do it on the iPhone itself.  If you have a mac, then you have to hook it up to your computer and in iPhoto create the albums.
    Then in iTunes you can tell it which albums you want put onto the iphone.
    If you have a windows comptuer, I'm not sure which program you use, but you can create albums on there as well, then choose which albums in iTunes you want synced to the phone.

  • HT1918 I have blocked my credit card on my itunes account, and was told to go in and click none so that I can still push through free apps and songs already purchased to my phone and I can not find it anywhere

    I have blocked my credit card on my itunes account, and was told to go in and click none so that I can still push through free apps and songs already purchased to my phone and I can not find it anywhere

    I had the same problem. Go back into Verizon Tunes. At the bottom of the screen you should see 3 dots. Touch them and that will bring up additional choices, one being Downloads. In the Downloads choice is 2 bars. One bar is Pending Downloads (aka Music Inbox) the other bar shows your download history.

  • I can't push my Wifi on

    I can't push my Wifi on

    JoeCool36 wrote:
    I took the plunge and bought the iphone 3g last monday and like many i'm disappointed with he battery life but I have a few questions to help me determine if I have a defective battery life or not. This is my first iphone so I can't compare to previous model. My usage below.
    settings-
    push on, wifi on, 3g on, location services off, search for wifi networks off
    I get just about 4 hours of usage before I get the 20% remaining warning is this normal?
    Now if I turn off wifi and 3g I get just about 5.5 hours of usage before the 20% warning.
    Are these usage times in line with what other users are getting or is my phone battery defective?
    Additional info: I use my phone mostly for texting and any email I get throughout the day which is usually around 10 emails a day. About a hour of talk time each day give or take.
    The battery life is not great. Despite what Apple say. It performs nowhere near Apple's specs. Even with push and location off. It doesn't make much difference. ANd WHY should you have to turn those features off to save power? I think Apple have ripped us off.

  • Creative cloud membership but can't push sites live

    hi, i have a creative cloud full membership but can't push sites live.
    i thought five sites can be pushed live with the membership, or?
    build my site in adobe muse and when i click the the push live button within businesscatalyst it tells me, that i have to make a purchase? thank you for answering

    webBasics
    $6.59 USD/month
    Content Management
    Site Analytics
    Web Forms
    Social Media Sharing
    Phone & Tablet Support
    FTP & File Manager
    don't understand. i have no site pushed live ever.
    to lowest plan is web basics (see above). this is what is written underneath my plan in my businesscatalyst. and you say it is included to my membership.
    but still can't push sites live. why?
    Websitestatus
    Planung 
    webBasics
    Status 
    Temporär

  • HT201334 can I push updates and apps with configurator

    can I push via 4G updates and Apps to ios devices with Apple configurator?

    no apple configuator only works over USB
    for OTA updates you'll need an MDM solution such as OSX server profile manager
    or simple mdm, meraki, both are free
    http://www.simplemdm.com/
    http://www.meraki.com/products/systems-manager/

  • I recieve weird texts that i can only push 'okay' to.

    Hi guys,
    Sitting at a bar and me friends recieve these very creepy texts. They appear out of nowhere on Black screen, and You Can only push "Okay" to it. Any heard or seen this before?

    It is like a service message. Black screen with White text. Only option is "okay". So creepy.

Maybe you are looking for

  • I had to do a clean windows install. im missing drivers

    So I had lost my recovery partition, burnt the 4 recovery cds from my ex's laptop, and ordered the system recovery dvds from hp. Nothing worked so I had to do a clean windows 7 install. Now I dont have any of the drivers thay came with my computer su

  • Menu bar disappearing on MacBook Pro 13" w/ Retina.

    Just bought a new MacBook Pro w/ Retina and the menu bar keeps randomly disappearing. How do I make this stop? It comes back as soon as I click where it should be. I notice it happens particularly when opening Google Chrome, but that's also one of th

  • Is there a way to send message to system Growl

    I would want to send some notify messages (succuess or error in forms) to Mac OS Growl system if it is avaible, is it posible to do with javascript ?

  • Use BDLS in BI for re-mapping of source system

    Hello, Is it possible to use tr code BDLS in BI  in order to automatically change source system assignment in source system related BI objects (such as info sources, info packages..)? We have created a new ECC QA client and would like to load data fr

  • Want to improve Yosemite's UI?

    I've been experimenting with a couple of ways to make the Yosemite UI less obnoxious. One thing that helps is to replace the default system font with something more legible. There are now a couple of ways to do this. Of course you try such things at