Results 1 to 6 of 6

Thread: Is the SSHTerm utility more secure than regular SSH access?

  1. #1
    Member
    Join Date
    Mar 2004
    Posts
    966

    Default Is the SSHTerm utility more secure than regular SSH access?

    Is the SSHTerm utility more secure than regular SSH access?

    Years ago, we removed SSH access from our feature list on the advice of our security geeks because this form of access heightened the security vulnerability of the entire server.

    But of course from time to time we receive a request for ssh access and frankly I am getting tired of saying "no". So overall, my question is this - Is there a more secure method that we can allow to enable our hosted members to make command line entires to do stuff like untarring and what not?

    Thanks very much.

  2. #2
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    somewhere over the rainbow
    Posts
    7,611
    cPanel/WHM Access Level

    Root Administrator

    Default Re: Is the SSHTerm utility more secure than regular SSH access?

    If you provide jailed shell access to those users, they should only be able to run a subset of SSH commands. Jailed shell access can be enabled in WHM > Manage Shell Access area.

    Of note, cron access allows running commands that are similar to SSH access, so if there was a security concern, crons likely would have needed to be disabled as well due to the inherent ability for crons to run commands.
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Technical Analyst III, Forums Specialist, cPanel Tech Support

    Submit a ticket | Check an existing ticket

  3. #3
    Member
    Join Date
    Mar 2004
    Posts
    966

    Default Re: Is the SSHTerm utility more secure than regular SSH access?

    Quote Originally Posted by cPanelTristan View Post
    If you provide jailed shell access to those users, they should only be able to run a subset of SSH commands. Jailed shell access can be enabled in WHM > Manage Shell Access area.

    Of note, cron access allows running commands that are similar to SSH access, so if there was a security concern, crons likely would have needed to be disabled as well due to the inherent ability for crons to run commands.
    Thanks Tristan. I have a follow up question about crons if you don't mind:

    This is a little surprising, but I just want to make sure that crons do not run commands as the server's root user, but rather, if they are set by the cron utility in the individual cPanel, whatever crons are there are run via THAT individual cPanel user. Correct? If so, then I don't see a huge problem with this. But point taken in any case. Thank you.

  4. #4
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    somewhere over the rainbow
    Posts
    7,611
    cPanel/WHM Access Level

    Root Administrator

    Default Re: Is the SSHTerm utility more secure than regular SSH access?

    Yes, cPanel account level cron jobs run as the individual user rather than as root, but if you aren't providing shell access of any sort to the user, it can be surprising to some people that crons allow the user to run commands (such as cp, mv, scp, etc.) as if the user had a shell.
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Technical Analyst III, Forums Specialist, cPanel Tech Support

    Submit a ticket | Check an existing ticket

  5. #5
    Member
    Join Date
    Mar 2004
    Posts
    966

    Default Re: Is the SSHTerm utility more secure than regular SSH access?

    Okay, one more related question if you don't mind.

    If we provide the SSHTerm utility in cPanels that we host, does this by default also mean that the cPanel account user could then just use putty or firessh to access their accounts via SSH?

    I would hope not, because if they have to go through their cPanels to enter ssh commands via SSHTerm, then at least this would still prevent direct/remote ssh access (using an ssh client). Yes?

  6. #6
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    somewhere over the rainbow
    Posts
    7,611
    cPanel/WHM Access Level

    Root Administrator

    Default Re: Is the SSHTerm utility more secure than regular SSH access?

    If you provide the SSHTerm, you'd have to provide jailed shell or regular shell access for the account. Those access levels allow any SSH program to work for that user to connect to the account.
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Technical Analyst III, Forums Specialist, cPanel Tech Support

    Submit a ticket | Check an existing ticket

Similar Threads

  1. secure SSH
    By crazyaboutlinux in forum cPanel & WHM Discussions
    Replies: 2
    Last Post: 03-28-2009, 01:41 AM
  2. Giving Resller Shell access to regular user accounts
    By guysmiley in forum cPanel & WHM Discussions
    Replies: 2
    Last Post: 01-15-2009, 08:09 PM
  3. Help Finding SSHTerm
    By datacommand in forum New User Questions
    Replies: 5
    Last Post: 03-14-2008, 01:32 PM
  4. secure and non-secure access to webmail through the same URL?
    By danimal in forum cPanel & WHM Discussions
    Replies: 1
    Last Post: 08-21-2006, 02:11 PM
  5. Can regular cpanel users access php.ini?
    By ejoa in forum cPanel & WHM Discussions
    Replies: 3
    Last Post: 08-09-2003, 02:20 AM