How locate id_rsa and id_rsa.pub ?

Discussion in 'General' started by HitoDev, Feb 12, 2026 at 4:22 PM.

  1. HitoDev

    HitoDev Member

    I use a PHP script from ISPC website (web111) to establish a connection with ssh2_connect and I want to use the hostkey param.
    I created a shell user for web111 in ISPC
    When I connect as shell user for web111 en run keygen I get :
    bash: keygen: command not found
    How to allow keygen here?
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    It's typically in the .ssh folder, unless you gave it a different path.

    You probably created a jailed SSH user, and keygen is not part of the jail. You can either add keygen to the jail, using jk_cp command, or create a user without jail, or disable the jail for the user you created.
     

Share This Page