fateame 发表于 2018-1-12 17:34:12

SSH配置与修改

  必须的要求:
  SSH doesn’t like it if your home or ~/.ssh directories have group write permissions. Your home directory should be writable only by you, ~/.ssh should be 700, and authorized_keys should be 600.
  You can also get around this by adding StrictModes off to your ssh_config file, but I’d advise against it - fixing permissions is the way to go.
  即有几处是需要处理(注意)的:
  1、用户家目录组用户权限不能有写(W)权限,如/home/oper目录,可以是755.
  2、~/.ssh 目录权限应该是700,~/.ssh/authorized_keys 文件权限应该是600.
页: [1]
查看完整版本: SSH配置与修改