SSH文件权限

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/inforstack/article/details/75910048

Permissions 0777 for 'tools/cncl' are too open.
It is required that your private key files are NOT accessible by others.
This private key will be ignored.
Load key "tools/cncl": bad permissions
Permission denied (publickey).

用户对文件操作权限

  1. r可读2^2=4
  2. w可写2^1=2
  3. x可执行2^0=1
PS:7最高权限

chmod 700 tools/cncl  //当前用户拥有所有权限,其它用户没有权限

上一篇:[WCF权限控制]ASP.NET Roles授权[上篇]


下一篇:未来安全问题的挑战