Distributions
Ubuntu
Fedora
CentOS
中文资源站
网易开源镜像站
886133
V2EX  ›  Linux

执行指令 CHMOD 777 /ETC/SSH -R 不能 SSH 登录

  •  
  •   886133 · Oct 10, 2023 · 1277 views
    This topic created in 969 days ago, the information mentioned may be changed or developed.

    执行指令 CHMOD 777 /ETC/SSH -R 不能 SSH 登录

    tsanie
        1
    tsanie  
       Oct 10, 2023
    没记错的话 ssh host key 需要限制 600 的权限
    tedding
        2
    tedding  
       Oct 10, 2023 via iPhone
    即使是 home 目录下的 ~/.ssh/* 都得是 600 ,而且 ssh 会提示你权限不对(过大)
    julyclyde
        3
    julyclyde  
       Oct 10, 2023
    不能那就对了啊
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   924 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 33ms · UTC 21:10 · PVG 05:10 · LAX 14:10 · JFK 17:10
    ♥ Do have faith in what you're doing.