Skip to content

Instantly share code, notes, and snippets.

@GtTmy
Created November 30, 2015 14:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save GtTmy/f7f82a405505d073d740 to your computer and use it in GitHub Desktop.
Save GtTmy/f7f82a405505d073d740 to your computer and use it in GitHub Desktop.
CentOS7で公開鍵認証

CentOS7で公開鍵認証

よくミスする箇所

# chmod 700 ~/.ssh
# chmod 600 ~/.ssh/authorized_keys

ホームディレクトリ含め,すべての階層の権限が適切に設定されている必要がある.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment