Login
Immutable PageDiscussionInfoAttachments
Diff for "iz/Memo"

MMA
Differences between revisions 1 and 2
Revision 1 as of 2012-09-16 01:01:02
Size: 386
Editor: iz
Comment:
Revision 2 as of 2012-09-16 01:21:22
Size: 407
Editor: iz
Comment:
Deletions are marked like this. Additions are marked like this.
Line 9: Line 9:
 * .sshのパーミッションを700
 * .ssh/authorized_keysのパーミッションを600に
 * .sshのパーミッションを700(必須)
 * .ssh/authorized_keysのパーミッションを600に(必須)

雑多なメモ

公開鍵認証によるログイン

サーバーの設定

  • クライアントの公開鍵を.ssh/authorized_keysに追記
  • /etc/ssh/sshd_configに"PubkeyAuthentication yes"を追加(デフォルトでyesになるらしいが一応)

  • .sshのパーミッションを700(必須)
  • .ssh/authorized_keysのパーミッションを600に(必須)

iz/Memo (last edited 2013-06-10 20:41:19 by hiyakashi)