SSH Shell Access Showing error via Putty as well as via cPanel

Sudhir Yadav

Registered
May 25, 2015
3
0
1
India
cPanel Access Level
Website Owner
Hi we are facing some wired issue with the cpanel.
as SSH Shell Access is one of the main thing that we use on almost daily basis. We are facing some wired issues

1. When we try to access the SSH via Putty via the main account root. It connects and when we go the directory Public_Html it say their are 3 options
./ ../ cgi-bin/

but in actual their are many folder and our whole website is running on it. (Screen Shot Attached)



2. When we try to access it via cPanel then it shows error which screen shot is also attached.

We have tried almost all the possible solution but these problem are not getting resolved.
we have self Managed server so the Hosting Provider is not help us in getting this issue resolved.
SSH Shell on Access on Cpanel.jpg


Can someone help to get this problem fixed

1. When we try to access the SSH via Putty via the main account root. It connects and when we go the directory Public_Html it say their are 3 options
./ ../ cgi-bin/

but in actual their are many folder and our whole website is running on it. (Screen Shot Attached)

SSH Not Listing Whole Directory.jpg
 
Last edited by a moderator:

madmanmachines

Well-Known Member
Nov 28, 2014
94
4
8
cPanel Access Level
Root Administrator
Hi,

You're in the root account, which also has a `public_html' directory. You need to navigate to the actual user. If the username is bob, you would `cd /home/bob/public_html/'. For the cPanel error, have you enabled a shell for the user in question at WHM > Account Functions > Manage Shell Access?

Thanks,
 
  • Like
Reactions: Sudhir Yadav

Sudhir Yadav

Registered
May 25, 2015
3
0
1
India
cPanel Access Level
Website Owner
and for the Putty error
i have got the actual user, when i use that username and password it shows that access denied . Is their any way to reset the password of that actual user
 

lldeepakll

Well-Known Member
May 20, 2012
85
3
58
India
cPanel Access Level
Root Administrator
Hi Thanks for your reply

for the cPanel error i am unable to see the
WHM > Account Functions > Manage Shell Access

i have attached screen shot
As per the screenshot you are logged in with reseller account and this reseller doesn't have privillages to create accounts with shell access. If you have root access of the server then you will be able to see "Manage Shell Access" option.

Thanks
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,201
363
Hello,

Yes, as mentioned, you will need to access WHM as "root" if you want to manage shell access. Otherwise, you must ask your hosting provider to enable shell access for the account.

Thank you.