You are not logged in.

#1 2010-09-26 18:33:18

Wyrm88
Member
Registered: 2010-05-05
Posts: 53

ssh-ing github problem

Hi all!
I'm trying to make a repository on github.com, I created a public key for ssh, followed this tutorial. http://help.github.com/linux-key-setup/ , but when I try

ssh git@github.com

I get this:

┌─[wyrm88 @ 20:25:51]
└─[my_files] > ssh git@github.com
Enter passphrase for key '/home/wyrm88/.ssh/id_rsa': 
PTY allocation request failed on channel 0

I googled the last line, and found out that everyone also has the "successful authentication" messages, which I don't. How do I proceed from here on?

Any help appreciated.

Offline

#2 2010-09-26 18:46:34

Foucault
Member
From: Athens, Greece
Registered: 2010-04-06
Posts: 214

Re: ssh-ing github problem

I suppose you are not allowed to have shell access on your github account (shell is assigned to /bin/false maybe). It's just for push-/pulling.

Offline

#3 2010-09-26 20:05:38

Wyrm88
Member
Registered: 2010-05-05
Posts: 53

Re: ssh-ing github problem

Thx for replying.
Here is the correct output:

$ ssh git@github.com
The authenticity of host 'github.com (207.97.227.239)' can't be established.
RSA key fingerprint is 16:27:ac:a5:76:28:2d:36:63:1b:56:4d:eb:df:a6:48.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'github.com,207.97.227.239' (RSA) to the list of known hosts.
ERROR: Hi tekkub! You've successfully authenticated, but GitHub does not provide shell access
Connection to github.com closed.

The crucial thing is that I don't get the last two lines when trying to check the public key. I tried to create a repository and connect with the created key, but I only get a fail to connect when I try to push.

Offline

#4 2010-09-26 20:36:52

Foucault
Member
From: Athens, Greece
Registered: 2010-04-06
Posts: 214

Re: ssh-ing github problem

I get the same error (obviously) but I can push and pull from/to my repo just fine. Have you configured your repository properly?

Last edited by Foucault (2010-09-26 20:40:05)

Offline

#5 2010-09-26 20:57:01

Wyrm88
Member
Registered: 2010-05-05
Posts: 53

Re: ssh-ing github problem

What is there to configure? I just created it and it presented me with the instructions.
P.S.- tried again with a new repository and public key, same output like post #1.

Offline

#6 2010-09-26 21:15:16

Wyrm88
Member
Registered: 2010-05-05
Posts: 53

Re: ssh-ing github problem

May have found a possible solution: http://blog.asteriosk.gr/2009/02/20/pty … channel-0/
But of course, /dev/pts in my case is already mounted, ergo it exists...

Last edited by Wyrm88 (2010-09-26 21:17:20)

Offline

#7 2010-09-27 05:14:23

Ranguvar
Member
Registered: 2008-08-12
Posts: 2,563

Re: ssh-ing github problem

Got that error a while ago.
If I remember corectly (I may not!) that's an error on _Github's_ server, NOT your computer.
Everything else should still work, their server that's supposed to give out that message has just been like that.

Last edited by Ranguvar (2010-09-27 05:19:40)

Offline

#8 2010-09-27 09:38:42

Wyrm88
Member
Registered: 2010-05-05
Posts: 53

Re: ssh-ing github problem

Tried again, still no progress, again no "ERROR: Hi <name>! You've successfully authenticated, but GitHub does not provide shell access
Connection to github.com closed." message sad.

Offline

#9 2010-09-28 21:11:38

Ranguvar
Member
Registered: 2008-08-12
Posts: 2,563

Re: ssh-ing github problem

See my post tongue

Offline

Board footer

Powered by FluxBB