Using Git, SSH client issue

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

  1. fredolamib

    fredolamib New Member

    We have created a shell user for a developper who want to use Git on Bitbucket.
    • Shell user : gituser
    • linked to site :
    • 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 ? :(

Share This Page