Re: [Gluster-infra] 'Clone with commit-msg hook' produces wrong scp command

2018-06-18 Thread Nigel Babu
Hi Yaniv,

This was because we forward port 22 to port 29418.

I just changed the sshd.advertisedAddress to say review.gluster.org:22.
That did the trick. Thanks for bringing this to our attention.

On Mon, Jun 18, 2018 at 9:01 PM, Yaniv Kaul  wrote:

> When I choose 'clone with a commit-msg hook' in Gerrit, I get the
> following scp command:
> git clone ssh://myk...@review.gluster.org/glusterfs-specs && scp -p *-P
> 29418* myk...@review.gluster.org:hooks/commit-msg
> glusterfs-specs/.git/hooks/
>
> See the part in bold in the scp command - it points to use port 29418.
> This is incorrect in review.gluster.org.
> The standard port does work.
>
> TIA,
> Y.
>
> ___
> Gluster-infra mailing list
> Gluster-infra@gluster.org
> http://lists.gluster.org/mailman/listinfo/gluster-infra
>



-- 
nigelb
___
Gluster-infra mailing list
Gluster-infra@gluster.org
http://lists.gluster.org/mailman/listinfo/gluster-infra

[Gluster-infra] 'Clone with commit-msg hook' produces wrong scp command

2018-06-18 Thread Yaniv Kaul
When I choose 'clone with a commit-msg hook' in Gerrit, I get the following
scp command:
git clone ssh://myk...@review.gluster.org/glusterfs-specs && scp -p *-P
29418* myk...@review.gluster.org:hooks/commit-msg
glusterfs-specs/.git/hooks/

See the part in bold in the scp command - it points to use port 29418.
This is incorrect in review.gluster.org.
The standard port does work.

TIA,
Y.
___
Gluster-infra mailing list
Gluster-infra@gluster.org
http://lists.gluster.org/mailman/listinfo/gluster-infra