Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Member
    Join Date
    Mar 2003
    Posts
    222
    cPanel/Enkompass Access Level

    Root Administrator

    Default SSH Key for cpanel user

    Hi,

    I want an SSH enabled user login with ssh key.

    When login as user, server says

    Server refused our key
    Same key works for user root, but not for a normal user.

    I compare two keys, even copied key from root to the user, but still i can't login as user.

    cp /root/.ssh/authorized_keys /home/username/.ssh/authorized_keys
    Another cpanel server, i done the same and i am able to login as user with same key.

    I compared /etc/ssh/sshd_config on both server, they are same.

    How do i fix the problem ?

    Thanks,

    Yujin

  2. #2
    Member
    Join Date
    Mar 2003
    Posts
    222
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Got it fixed by setting proper permissions.

Similar Threads & Tags
Similar threads

  1. SSH - public key- cpanel - Ubuntu
    By dramos in forum New User Questions
    Replies: 3
    Last Post: 09-29-2010, 02:42 AM
  2. How to connect in SSH after create key in Manage SSH Keys
    By konrath in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 07-03-2009, 10:57 PM
  3. SSH access via Public Key Auth for cPanel users - How?
    By jols in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 02-28-2008, 03:58 AM
  4. SSH Key for a customer
    By benito in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 01-08-2008, 11:01 AM
  5. Server refused our key ( Private SSH-Key ) HELP!!!
    By ModServ in forum cPanel and WHM Discussions
    Replies: 7
    Last Post: 09-24-2007, 04:29 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube