Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

SOLVED Transfer Tool: ctl_dir /root/.libnet-openssh-perl/ is not secure

Discussion in 'General Discussion' started by DragonByte Tech, Jan 22, 2018.

Tags:
  1. DragonByte Tech

    Joined:
    Aug 7, 2012
    Messages:
    15
    Likes Received:
    1
    Trophy Points:
    3
    cPanel Access Level:
    Website Owner
    When I attempt to connect to another server (using Plesk), I receive "ctl_dir /root/.libnet-openssh-perl/ is not secure".

    The password is correct, as I can SSH manually.

    I have tried removing "/root/.libnet-openssh-perl/" and allowing the script to re-generate it, and I have tried changing the permissions on /root/ to 500, but nothing has worked.

    Please advise.
     
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,442
    Likes Received:
    1,962
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    Can you verify which version of cPanel is installed on this system? Also, please post the output from the following commands:

    Code:
    stat /root/.libnet-openssh-perl
    stat /root
    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. DragonByte Tech

    Joined:
    Aug 7, 2012
    Messages:
    15
    Likes Received:
    1
    Trophy Points:
    3
    cPanel Access Level:
    Website Owner
    Sorry I forgot to include the cPanel / OS version; CENTOS 6.9 standard - v68.0.26

    Code:
    root@web01 [~]# stat /root/.libnet-openssh-perl
      File: `/root/.libnet-openssh-perl'
      Size: 4096            Blocks: 8          IO Block: 4096   directory
    Device: 823h/2083d      Inode: 11665409    Links: 2
    Access: (0700/drwx------)  Uid: (    0/    root)   Gid: (    0/    root)
    Access: 2018-01-22 16:44:01.928872546 +0000
    Modify: 2018-01-22 16:44:01.928872546 +0000
    Change: 2018-01-22 16:46:05.635794638 +0000
    
    Code:
    root@web01 [~]# stat /root
      File: `/root'
      Size: 4096            Blocks: 8          IO Block: 4096   directory
    Device: 823h/2083d      Inode: 11534337    Links: 22
    Access: (0550/dr-xr-x---)  Uid: ( 1002/ UNKNOWN)   Gid: (    0/    root)
    Access: 2018-01-22 16:46:11.853690205 +0000
    Modify: 2018-01-22 16:44:01.928872546 +0000
    Change: 2018-01-22 16:46:23.162500271 +0000
    
     
  4. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,442
    Likes Received:
    1,962
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    It looks like the UID on the /root directory is set to 1002/UNKOWN. Try running the following command to correct this:

    Code:
    chown root.root /root
    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    DragonByte Tech likes this.
  5. DragonByte Tech

    Joined:
    Aug 7, 2012
    Messages:
    15
    Likes Received:
    1
    Trophy Points:
    3
    cPanel Access Level:
    Website Owner
    That solved the issue, thank you very much! :D
     
    cPanelMichael likes this.
  6. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,442
    Likes Received:
    1,962
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    I'm glad to see that helped. Thank you for updating us with the outcome.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice