Skip to content

Instantly share code, notes, and snippets.

@xoosye
Created December 21, 2012 08:32
Show Gist options
  • Save xoosye/4351457 to your computer and use it in GitHub Desktop.
Save xoosye/4351457 to your computer and use it in GitHub Desktop.
有时候debian或ubuntu增加了ssh公钥后不生效,是因为文件权限问题,用这个命令解决:
chmod 600 $HOME/.ssh/authorized_keys
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment