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

Nigel Babu nigelb at redhat.com
Tue Jun 19 04:20:06 UTC 2018


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 <ykaul at redhat.com> wrote:

> When I choose 'clone with a commit-msg hook' in Gerrit, I get the
> following scp command:
> git clone ssh://mykaul@review.gluster.org/glusterfs-specs && scp -p *-P
> 29418* mykaul at 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 at gluster.org
> http://lists.gluster.org/mailman/listinfo/gluster-infra
>



-- 
nigelb
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gluster.org/pipermail/gluster-infra/attachments/20180619/a9f8362a/attachment.html>


More information about the Gluster-infra mailing list