From: Alexander Puchmayr <alexander.puchmayr@linznet.at>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] Layman adding git over ssh only repository
Date: Mon, 15 Aug 2022 09:18:31 +0200 [thread overview]
Message-ID: <9529065.VV5PYv0bhD@zeus> (raw)
Hi there,
I tried to add a repository which is only reachable via git over ssh; no
access via git port (9418 according to /etc/services) or http(s). Only ssh
connections with public key are accepted.
I tried
Layman -o ssh://git@myserver/path/to/repo.git -f -a myrepo, but failed with
"invalid url".
Then I tried the same with "git://git@..." , also failed.
It seems like it does not accept the url scheme and refusing to connect at
all. Next thing I tried is to create a repository.xml and put it to the local
file system:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE repositories SYSTEM "/dtd/repositories.dtd">
<repositories xmlns="" version="1.0">
<repo quality="experimental" status="unofficial">
<name>my-repo</name>
<description lang="en">My overlay</description>
<owner type="person">
<email>alexander.puchmayr#my-email.com</email>
<name>Alexander Puchmayr></name>
</owner>
</repo>
<source type="git">git://myserver/path/to/repo.git</source>
</repositories>
Layman -o repository.xml -f -a myrepo now tries to fetch it via the git port
(9418), failing with timeout.
Replacing source type="git" with "ssh", "ssh+git", "git+ssh" also did not
succeed.
I'm pretty sure not being the first one trying this, but I cannot find any
useful information how to do this. So how can I achieve this?
Thanks
Alex
next reply other threads:[~2022-08-15 7:18 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-15 7:18 Alexander Puchmayr [this message]
2022-08-15 9:04 ` [gentoo-user] Re: Layman adding git over ssh only repository Nuno Silva
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=9529065.VV5PYv0bhD@zeus \
--to=alexander.puchmayr@linznet.at \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox