On Fri, Dec 09, 2022 at 04:53:26PM +0100, Uwe Brauer wrote: > I sorry if this is slightly off topic. Next semester I want to run an > experiment and encourage my students to use a VC for their coding, and > since Matlab supports git (and svn) it will be git. > > However I encounter a problem: so far I have tested github and bitbucket > and both don't allow to push via https and a simple password anymore. > > My ssh knowledge is a bit rusty, but in order to have ssh, one needs to > generate a key pair, and to put the public key in github/bitbucket > (https://gist.github.com/xirixiz/b6b0c6f4917ce17a90e00f9b60566278) > > That alone might be difficult for some students, the real problem is: > one needs to have the private key installed in the machine from which > one is pushing. > > Now the students will work in the University on public Desktops, so to > have private keys there is a no-go. > > Any suggestion how to deal with this requirements? > > Or which more or less reliable known service supports still pushing via > https and simple password? Gitlab?
Is it possible to have uni admins host a bunch of Git repositories on premises? Git is sort-of self-hosting in the sense you only need a web server which can do URL rewriting and CGI, so Apache and Nginx - top picks these days - all just work as both can do HTTPS and what is called Basic HTTP authentication. Contemporary IIS (the web server shipped as part of Windows Server) these days can host Git without much fuss as well. -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To unsubscribe from this group and stop receiving emails from it, send an email to git-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/git-users/20221209173236.sl2umty26zb5gaf4%40carbon.