Using Git, SSH client issue

Discussion in 'Installation/Configuration' started by fredolamib, Apr 13, 2016.

  1. fredolamib

    fredolamib New Member

    Hi.
    We have created a shell user for a developper who want to use Git on Bitbucket.
    • Shell user : gituser
    • linked to site : testsite.com
    • User linked to this site : web1
    • Client linked to this site : client1
    When we connect to server with gituser, the home directory is : /var/www/clients/client1/web1/home/gituser
    In the passwd file (/etc/passwd), we can see web1's home directory : /var/www/clients/client1/web1
    To use Git, we have to generate SSH key with the command ssh-keygen. All the useful SSH files are stored in this directory : /var/www/clients/client1/web1/home/gituser/.ssh

    Here comes the problem :
    When we use a Git command to connect to Bitbucket server with SSH (PUSH for example), we can't. The message :
    same problem when we try a SSH connection with the command ssh -Tv git(at)bitbucket(dot)org :
    When we try to use SSH client, the system try to find the SSH config files in the web1 home directory (/var/www/clients/client1/web1), but they are in the gituser home directory (/var/www/clients/client1/web1/home/gituser)

    Can somebody help me ?
    I use a Debian 8 Jessie server (Apache2, BIND, Dovecot, ISPConfig 3).
    Thanks. Frédéric.
     
  2. fredolamib

    fredolamib New Member

    Can somebody help me ? :(
     
  3. helmo

    helmo Member HowtoForge Supporter

  4. helmo

    helmo Member HowtoForge Supporter

    I noticed this myself on a 3.1.15 installation ... but could not reproduce on a server with ispconfig 3.1dev
     

Share This Page