« SSH (1) client | Main | MS Viewer »

Feb 13, 2005

SSH (2) RSA認証

$ ssh-keygen -t rsa1 //鍵の作成
Generating public/private rsa1 key pair.
Enter file in which to save the key (/home/hogehoge/.ssh/identity): //ディフォルトで良いでしょう
Created directory '/home/hogehoge/.ssh'.
Enter passphrase (empty for no passphrase): //パスフレーズの入力
Enter same passphrase again: //パスフレーズの確認
Your identification has been saved in /home/hogehoge/.ssh/identity.
Your public key has been saved in /home/hogehoge/.ssh/identity.pub.

$ cd ~/.ssh

$ cp identity.pub authorized_keys

クライアントにはidentityファイルをコピーする。(秘密鍵)
よってクラインとはidentity(秘密鍵)を使って暗号化し
サーバーはautorized_key(公開鍵のコピー)を使って
認証及び復号を行う。 たぶん、、、

|

« SSH (1) client | Main | MS Viewer »

Linux」カテゴリの記事

Comments

Post a comment



(Not displayed with comment.)


Comments are moderated, and will not appear on this weblog until the author has approved them.



TrackBack


Listed below are links to weblogs that reference SSH (2) RSA認証:

« SSH (1) client | Main | MS Viewer »