ssh密钥文件权限修正
Openwrt使用dropbear密钥默认应该放在/etc/dropbear/authorized_keys
Windows管理员用户的密钥在C:\ProgramData\ssh\administrators_authorized_keys
chmod 700 ~/.ssh
chmod 600 ~/.ssh/id_* ~/.ssh/authorized_keys
chmod 644 ~/.ssh/*.pub
chown -R $(whoami) ~/.ssh
Select a result to preview
Openwrt使用dropbear密钥默认应该放在/etc/dropbear/authorized_keys
Windows管理员用户的密钥在C:\ProgramData\ssh\administrators_authorized_keys
chmod 700 ~/.ssh
chmod 600 ~/.ssh/id_* ~/.ssh/authorized_keys
chmod 644 ~/.ssh/*.pub
chown -R $(whoami) ~/.ssh