From mboxrd@z Thu Jan 1 00:00:00 1970 From: Adolf Belka To: development@lists.ipfire.org Subject: Re: Doing a push to my user git repository Date: Thu, 10 Jun 2021 19:38:33 +0200 Message-ID: <5ef53014-9e57-96d8-b5c5-6afcc58b731c@ipfire.org> In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============4339053220640729885==" List-Id: --===============4339053220640729885== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hi Michael, On 10/06/2021 14:41, Michael Tremer wrote: > Hello, >=20 >> On 10 Jun 2021, at 13:39, Adolf Belka wrote: >> >> Hallo Michael, >> >> On 10/06/2021 13:13, Michael Tremer wrote: >>> Hello Adolf, >>> We do not use SSH keys in our infrastructure. Instead we use Kerberos aut= hentication. >>> For that, you do not have to do anything apart from authenticating using = a password as usual. In the background the server will acquire a Kerberos tic= ket automatically. >>> You should be able to log in at people.ipfire.org using SSH with your use= rname and your password. Can you check if that works? >> After adding a Match Host command to my ssh_config to allow password authe= ntication I was able to login with ssh to people.ipfire.org. It immediately l= ogged me out again with the following message:- >> >> fatal: Interactive git shell is not enabled. >> hint: ~/git-shell-commands should exist and have read and execute access. >> Connection to people.ipfire.org closed. >> >> Reading about this I suspect that is expected because I should not be work= ing with git interactively but it proves that my ssh connection is working. >=20 > Yes, this is correct. This was just to test the SSH connection. >=20 >> I will now try out accessing my user repository via ssh and seeing if that= works. >=20 > You should be able to push things to this repository by setting it up as a = remote repository first: >=20 > git remote add bonnietwin ssh://bonnietwin(a)people.ipfire.org/=E2=80=A6 >=20 > And then use pull and push :) Struggling to make this work. If I just use ssh://bonnietwin(a)people.ipfire.= org/ as above then I get the following message when I try a push. fatal: '/' does not appear to be a git repository fatal: Could not read from remote repository. I tried adding bonnietwin/ipfire-2.x.git/ to the end of the url but that gave= the same error message.Basically just a guess on my part but it was wrong. Looking at my user repository in a browser the url is completely different so= I have no idea what I need to use for the url for my repository when accessi= ng it via ssh. I suspect that I have made more than the allowed errors as I now can't even c= onnect any more and get the following message:- ssh: connect to host people.ipfire.org port 22: Network is unreachable fatal: Could not read from remote repository. Not sure if this will be accessible again after some time or if I am permanen= tly blocked and need it to be released. Either way I need and would appreciate some guidance. Regards, Adolf. >=20 > -Michael >=20 >> >> Thanks for the help. >> >> Adolf. >>> -Michael >>>> On 10 Jun 2021, at 12:00, Adolf Belka wrote: >>>> >>>> Hi All, >>>> >>>> Sorry for my lack of activities over the last period but I had some non-= computing issues to deal with. >>>> >>>> Back again now and starting to look through some previous stuff. >>>> >>>> The user git repository that I have available. Reading through the wiki = it looks like I need to use ssh to access it and do a push of any local chang= es to my user repository. >>>> >>>> I have created an ssh key but the public file will need to be put into t= he git repository server. Do I just need to send the public key to this distr= ibution list or is there some other process to get it added. >>>> >>>> >>>> Regards, >>>> Adolf. >> >> --=20 >> Sent from my laptop >=20 --===============4339053220640729885==--