Download raw body.
Straightforward repo retrieving command (gotd configuration)
Say I wish to remotely retrieve a repository, for instance geomant from got.saboua.xyz (gotwebd server) which also has gotd(8) running: # cat /etc/gotd.conf repository geomant { path '/var/www/got/public/geomant' permit rw sylvain permit ro anonymous permit ro :got } repository rfdupes { path '/var/www/got/public/rfdupes' # empty repo atm } ... (two websites' code in addition) SSH/encryption is fine, I don't necessarily require authentication since I want anyone to be able to retrieve my code. The following commands from an Apple M1 over local network with got from brew.sh are not working, and, do I really need to be asked a password for anonymous ? $ got clone ssh://lap/geomant Connecting to ssh://lap/geomant sylvansab@lap's password: ^C $ got clone ssh://anonymous@lap/geomant Connecting to ssh://anonymous@lap/geomant anonymous@lap's password: ^C $ got clone ssh://got@lap/geomant Connecting to ssh://got@lap/geomant got@lap's password: got-fetch-pack: packet length has invalid format got: bad packet received My smartphone is for repair at the moment but I also get an error while trying from termux using git: $ git clone git://got@saboua.xyz/geomant got@saboua.xyz's password: fatal: protocol error: bad line length character: This I have a got user configured on the system, with password gotGOTgot. $ grep got /etc/passwd /etc/group /etc/passwd:_gotd:*:501:501:Game of Trees Daemon:/nonexistent:/sbin/nologin /etc/passwd:got:*:2001:2001::/var/www/got/public/:/sbin/nologin /etc/group:_gotd:*:501: /etc/group:got:*:2001:got I am not sure, maybe my problem stems from wishing to use the same repository with both gotwebd(8) and gotd(8) ? You should be able to try if you want using ssh://got@saboua.xyz/geomant -- Sylvain Saboua
Straightforward repo retrieving command (gotd configuration)