Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • I ISPConfig 3
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 582
    • Issues 582
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 50
    • Merge requests 50
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • ISPConfig
  • ISPConfig 3
  • Issues
  • #4456
Closed
Open
Issue created Jan 19, 2017 by kfi@kfi

shell user ssh home directory problem

I created a (non-chrooted) shell user and when i try to connect via ssh it tries to create the .ssh folder for the known_hosts file in my web folder, not in the home folder. Has anyone had this issue before and knows how to fix it?

web1@test:/var/www/clients/client1/web1/web$ git pull
Could not create directory '/var/www/clients/client1/web1/.ssh'.
The authenticity of host 'github.com (192.30.253.112)' can't be established.
RSA key fingerprint is SHA256:nThbg6kXUpJWGl7E1IGOCspRomTxdCARLviKw6E5SY8.
Are you sure you want to continue connecting (yes/no)? yes
Failed to add the host to the list of known hosts (/var/www/clients/client1/web1/.ssh/known_hosts).
Already up-to-date.
web1@test:/var/www/clients/client1/web1/web$ ssh git@github.com
Could not create directory '/var/www/clients/client1/web1/.ssh'.
web1@test:/var/www/clients/client1/web1/web$ echo $HOME
/var/www/clients/client1/web1/home/test
Assignee
Assign to
Time tracking