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.
Check if `grep web1 /etc/passwd` give the correct client id. It seems that this is not update when a site is changed to a different client. This looks similar to https://www.howtoforge.com/community/threads/wrong-client-directory-when-ssh-ssh_keygen.65660/
I noticed this myself on a 3.1.15 installation ... but could not reproduce on a server with ispconfig 3.1dev