Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Member
    Join Date
    Oct 2004
    Posts
    103

    Default Restrict SSH Access for a single user

    Heya All,
    I want to set up an account that is able to log in only to the local console and hence want to restrict the account so that it cannot be used for ssh access.

    I have run:
    useradd blah1
    passwd blah1
    <enter pass twice>

    However this automatically permits SSH access. Any ideas, I was unable to find anything on the forums for this?
    Cheers
    Stuart

  2. #2
    Member
    Join Date
    Jul 2008
    Posts
    63

    Default

    DenyUsers

    "man sshd" and "man sshd_config" for more info.

Similar Threads & Tags
Similar threads

  1. Replies: 2
    Last Post: 09-29-2006, 12:27 PM
  2. ssh - user access to another users files
    By ladydi711 in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 03-11-2006, 11:13 AM
  3. user's SSH access denied after last cPanel upgrade.
    By jols in forum cPanel and WHM Discussions
    Replies: 14
    Last Post: 12-05-2005, 06:37 PM
  4. Remote SSH ROOT access for single hostname/IP
    By lostinspace in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 11-26-2005, 12:48 PM
  5. user SSH access
    By s3kk3y in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 01-25-2003, 04:05 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube