Ispconfig 3 + jailkit using git with public key

Discussion in 'Installation/Configuration' started by Ramm, Feb 22, 2017.

  1. Ramm

    Ramm New Member

    Hello,
    I have a basic installation (by using the perfect server tutorial) of Ispconfig 3.1.2 on Ubuntu 16.04.2 LTS.
    I need that every client's shell user can generate a ssh key (using ssh-keygen) to use it as a deploy key in github (or other services of git).

    What I tried:
    • Adding path to ssh-keygen executable in System -> Server config -> Jailkit -> Jailkit chrooted applications with no success (command not found)
    • Adding a section in /etc/jailkit/jk_init.ini and adding it to Jailkit chroot app sections with no success either, like this:
    Code:
    [customramm]
    comment = ramm
    executables = /usr/bin/git* /usr/lib/git-core/* /usr/bin/ssh-keygen /bin/uname
    Can someone please guide me?

    Thanks


    //Edit: Should be moved to the IspConfig section, my mistake.
     
    Last edited: Feb 23, 2017
  2. Ramm

    Ramm New Member

    Since my question is not really clear, all I want is to give shell users (created by clients within ispconfig) access to ssh-keygen command.
    Is there something that I'm missing? Since it's been a month since I posted this and no replies yet. :(
     
  3. Jesse Norell

    Jesse Norell Well-Known Member

    Both of the things you mention would only affect new jails, and the second (adding a new section) only if you add that section to the 'Jailkit chroot app sections'. Did you try adding it manually with jk_cp ?
     
  4. Jesse Norell

    Jesse Norell Well-Known Member

Share This Page