[TxMt] Re: [TM2] Git Permission denied (publickey).
Alan Schussman
alan at schussman.com
Sun Dec 18 14:13:53 UTC 2011
On Dec 18, 2011, at 6:53 AM, Allan Odgaard wrote:
> On 18 Dec 2011, at 14:37, Alan Schussman wrote:
>
>> I'm encountering what may be the same issue trying to use GitHub and push a commit. Using TM1 and the terminal work fine, but TM2 fails and returns "Permission denied (publickey)." to see what's happening in TM2 I dia "ssh -vT git at github.com^R" and compared its output to the same command in TM1. Here's a snippet:
>>
>> debug1: Authentications that can continue: publickey
>> debug1: Next authentication method: publickey
>> debug1: Offering RSA public key: /Users/alan/.ssh/id_rsa
>
> Is this the correct private key for the server in question?
>
> Thinking perhaps it’s an issue of not reading .ssh/config or similar, that would otherwise have instructed it to use another key.
Yes, it's the correct key. For comparison, here's the same snippet for the command run in TM1 (I'm happy to send the full output to you, Allan, if you think it will help).
debug1: Authentications that can continue: publickey
debug1: Next authentication method: publickey
debug1: Offering RSA public key: /Users/alan/.ssh/id_rsa
debug1: Remote: Forced command: gerve [USERNAME]
debug1: Remote: Port forwarding disabled.
debug1: Remote: X11 forwarding disabled.
debug1: Remote: Agent forwarding disabled.
debug1: Remote: Pty allocation disabled.
debug1: Server accepts key: pkalg ssh-rsa blen 277
debug1: Remote: Forced command: gerve ats
debug1: Remote: Port forwarding disabled.
debug1: Remote: X11 forwarding disabled.
debug1: Remote: Agent forwarding disabled.
debug1: Remote: Pty allocation disabled.
debug1: Authentication succeeded (publickey).
Authenticated to github.com ([207.97.227.239]:22).
I've tried the permission settings and ~/.ssh/config changes suggested at http://help.github.com/ssh-issues/ -- they don't seem to have any effect.
Thanks-
-Alan
More information about the textmate
mailing list