Tell me more ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I went away from Git for 4 months and now returned to it, using @Treehouse Git Tutorials.

I tried installing Git 1.7.9.1 but my computer Mac OSX is already installed V.1.7.5.4 from 4 months ago and I've tried ways to uninstall it from those I found online (sudo rm...etc) but failed to. So I went ahead with those @treehouse tutorials anyway.

After adding the ssh keys, I tried ssh git@github.com but received this instead.

Identity added: /Users/username/.ssh/id_rsa (/Users/username/.ssh/id_rsa) PTY allocation request failed on channel 0

Again, I tried various solutions I found online to try and solve the "PTY..." problem but still could not ssh git@github.com successfully.

Anyone knows why and how I may resolve this?

share|improve this question
possible duplicate of Can't push to GitHub on this box – Lazy Badger Apr 2 '12 at 13:26
I've read both and tried both but none solves the problem. I don't even get the "successfully authenticated" notice. – Jason H Apr 2 '12 at 14:06

migrated from stackoverflow.com Apr 2 '12 at 21:39

1 Answer

Use ssh -T git@github.com instead. The PTY allocation isn't actually necessary, as decribed in this comment.

Have you verified your SSH keys since the GitHub security bug last month?

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.