Failed to execute git clone

Discussion in 'Installation/Configuration' started by brody182, Nov 21, 2018.

  1. brody182

    brody182 Member

    fixed by copying over the server ssl certificate in jailed user
    Last edited: Nov 25, 2018
  2. Nap

    Nap Member

    @brody182 could you be more specific please? Paths/filenames?
    I'm getting an error message for the jailed user:
    Cloning into 'example'...
    fatal: Unable to find remote helper for 'https'
  3. Jesse Norell

    Jesse Norell Well-Known Member

    Probably you need /etc/ssl/certs/ca-certificates.crt in your jail. On debian 9 this should work for the git section:
    comment = Fast Version Control System
    executables = /usr/bin/git*, /bin/uname, /usr/bin/expr
    directories = /usr/share/git-core, /usr/lib/git-core
    includesections = editors, netbasics, basicshell
    And /etc/ssl/certs/ca-certificates.crt is included in netbasics.
    OptimBro likes this.
  4. Tata

    Tata New Member

    for debian 9 additional you must copy from linux system to jailkit subsytem (links + files):
  5. OptimBro

    OptimBro Member

    Thanks, it fixed the "fatal: unable to find remote helper for 'https' " :)

    While searching for this, I got your this script: ( I think it updates all Jaikit users with latest config from /etc/jailkit/jk_init.ini

    Thanks so much :)

Share This Page