[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: remote: Permission denied when trying to push

From: Ben Abbott
Subject: Re: remote: Permission denied when trying to push
Date: Sun, 14 Jan 2018 07:41:09 -0800

On Jan 14, 2018, at 1:15 AM, Torsten <address@hidden> wrote:

On 14.01.2018 00:47, Ben Abbott wrote:
On Jan 13, 2018, at 11:06 AM, Ben Abbott <address@hidden
<mailto:address@hidden>> wrote:

On Jan 13, 2018, at 10:53 AM, Ben Abbott <address@hidden
<mailto:address@hidden>> wrote:

I attempted to push a changeset to enable Java support on macOS, but
encountered "remote: Permission denied”

Its been some time since I pushed a change so perhaps my permissions
have been curtailed?

In any event, the changeset is attached.



hmmm … maybe I’m just having a firewall problem. I’ll try later when
I’m at home.


Nope. Something is wrong. 

hg push ssh://address@hidden/octave
pushing to ssh://address@hidden/octave
address@hidden <mailto:address@hidden>'s password: 
address@hidden <mailto:address@hidden>'s password: 
remote: Permission denied, please try again.
remote: Received disconnect from port 22:2: Too many
authentication failures for bpabbott
remote: Disconnected from port 22
abort: no suitable response from remote hg!


The remote host is asking for your password although you are connecting
via ssh where authentication should be handled via a private/public key
pair. Maybe you have to load your private key via ssh-add before pushing.


On the page below, I see I have two keys loaded


On my computer my key is loaded in ~/.ssh/id_rsa.pub

The page below


indicates the keys should match, but mine do not. That is easy to fix with a copy-&-paste.

Now I’m able to push again.


Thanks for pointing me in the right direction.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]