SSH keys
跳到导航
跳到搜索
添加公key
ssh login 权限如下 #目录700 文件 644 or 600 chown -R evan:evan .ssh/ chmod 700 .ssh chmod 644 .ssh/authorized_keys useradd evan usermod -a -G dev evan mkdir -p /home/evan/.ssh touch /home/evan/.ssh/authorized_keys chown -R evan.evan /home/evan/ chmod 400 /home/evan/.ssh/authorized_keys