1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How to enable remote shell access

Discussion in 'General Discussion' started by jayapalchandran, Oct 3, 2008.

  1. jayapalchandran

    jayapalchandran New Member

    Joined:
    Oct 3, 2008
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    hi,
    i want to use putty to remotely access my server. when i connected
    it said you have to enable the shell access in your server...
    and when i logged in the cPanel control panel i couldn't find any option like that.
    where do i have to click or go to enable this???
     
  2. dheerajkumar

    dheerajkumar New Member

    Joined:
    Jun 3, 2007
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    Sheel access

    HI,

    Yes, you can enable shell access in the server, they are two ways

    1. In WHM you can enable when creating a account, if account is created you can enable using MODIFY account.

    2. In Shell you can change the entry of the user in /etc/passwd file

    Without shell access
    username:x:170:170:username daemon:/:/sbin/nologin
    Change it as
    username:x:170:170:username daemon:/:/bin/bash

    But it is not recoomended to give shell access to a hosting cpanel user.

    With regards,
    Dheeraj kuamr.B :)
     

Share This Page