Transfer Tool: ctl_dir /root/.libnet-openssh-perl/ is not secure
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.
-
Hello, Can you verify which version of cPanel is installed on this system? Also, please post the output from the following commands: stat /root/.libnet-openssh-perl stat /root
Thank you.0 -
Sorry I forgot to include the cPanel / OS version; CENTOS 6.9 standard - v68.0.26 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
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
0 -
Hello, It looks like the UID on the /root directory is set to 1002/UNKOWN. Try running the following command to correct this: chown root.root /root
Thank you.0 -
That solved the issue, thank you very much! :D 0 -
I'm glad to see that helped. Thank you for updating us with the outcome. 0
Please sign in to leave a comment.
Comments
5 comments