The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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

Discussion in 'General Discussion' started by Sudhir Yadav, May 25, 2015.

  1. Sudhir Yadav

    Sudhir Yadav Registered

    Joined:
    May 25, 2015
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    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
     
    #1 Sudhir Yadav, May 25, 2015
    Last edited by a moderator: May 25, 2015
  2. madmanmachines

    madmanmachines Well-Known Member

    Joined:
    Nov 28, 2014
    Messages:
    94
    Likes Received:
    3
    Trophy Points:
    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,
     
    Sudhir Yadav likes this.
  3. Sudhir Yadav

    Sudhir Yadav Registered

    Joined:
    May 25, 2015
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    India
    cPanel Access Level:
    Website Owner
    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
     

    Attached Files:

  4. Sudhir Yadav

    Sudhir Yadav Registered

    Joined:
    May 25, 2015
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    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
     
  5. lldeepakll

    lldeepakll Well-Known Member

    Joined:
    May 20, 2012
    Messages:
    86
    Likes Received:
    2
    Trophy Points:
    8
    Location:
    India
    cPanel Access Level:
    Root Administrator
    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
     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     
Loading...

Share This Page