Page 1 of 1
Cannot ssh into user folder
Posted: Thu Apr 15, 2021 4:28 pm
by Trax
I've just set up a domain under user 'admin' but when i am trying to ssh into the domains folder i'm getting permission denied. Just to clarify, i can access the user/web folder just not the actual domain?
I'm using a sudo user with root privileges so not sure if this as anything to do with it?
Re: Cannot ssh into user folder
Posted: Thu Apr 15, 2021 6:52 pm
by myVesta
check folder permission, it should be 0751, owner should be admin?
Re: Cannot ssh into user folder
Posted: Thu Apr 15, 2021 6:55 pm
by Trax
I've checked this and the permissions are as you stated.
Re: Cannot ssh into user folder
Posted: Thu Apr 15, 2021 6:58 pm
by myVesta
can you screenshot the moment you hit Permission denied?
Re: Cannot ssh into user folder
Posted: Thu Apr 15, 2021 7:12 pm
by Trax
Sure, pic attached
Re: Cannot ssh into user folder
Posted: Thu Apr 15, 2021 7:33 pm
by myVesta
can you screenshot parent folder (/web/) but just so i can see Permissions and Owner?
you can send me via private message if you want.
i never seen this.
you login with 'admin' user?
Re: Cannot ssh into user folder
Posted: Thu Apr 15, 2021 7:40 pm
by Trax
Yes i login with admin.... Not sure if this is any relevance but this is a clean install?

- Screenshot admin.png (22.37 KiB)
Re: Cannot ssh into user folder
Posted: Thu Apr 15, 2021 7:49 pm
by myVesta
This SFTP, right?
I just tried to reproduce this on my test server, but without luck.
It is entering domain folder normally.
Re: Cannot ssh into user folder
Posted: Thu Apr 15, 2021 7:57 pm
by Trax
This SFTP, right?
yep!
Hang fire I'll private message you the ssh login for you to take a look.