Generating an RSA key pair for use with PuTTY on the N95 N95を生成するのにはPuTTYで使用するためのRSA鍵ペア

by Ken Murray on October 15, 2008 ケン マレー 2008年 10月 15日にで

リナックスシンビアン

As I started my tutorial on adding fonts to PuTTY on the N95, I very quickly decided that having to enter a user name and password every time I logged in was taking too long.私はPuTTYのフォントを追加するには、 N95を私のチュートリアルを開始すると、私は非常に迅速には長すぎることをされたユーザー名とパスワードを入力してください私にはログインするたびにすることを決めた。 So I generated an RSA key pair with a blank pass phrase just to save time.だから、僕は時間を節約するため、空のパスフレーズのRSA鍵ペアを生成します。 Don’t worry, of course I deleted the key pair as soon as I was finished.もちろん、私はすぐに完成していた私としては、鍵のペアが削除心配しないでください。 The last thing I need is to lose my phone and have some stranger logging into my server!私は必要のないことを自分の携帯電話を失うし、いくつかの見知らぬ人が私のサーバーにログインしています!

Note: this procedure is not specific to just the N95, nor is it only specific to Linux. 注:この手順は、 N95をに固有ではないが、 Linuxにもそれが唯一の特定。 I use Linux in my examples because I’m not a Windows user. Windowsユーザーではないため、私は私の例でLinuxを使用しています。 The procedure described below on how to generate RSA keys can be adapted to puttygen.exe on Windows.以下の手順RSA鍵を生成するためにどのようにWindows上でputtygen.exeに適応することができます。

  1. Here is what I did on the Linux box first:ここに私は、 Linuxボックスを最初にやったことです:

    [user@radon ~]$ ssh-keygen [ラドン@ユーザ〜 ] $ のssh - keygen
    Generating public/private rsa key pair.生成公共/民間のRSA鍵のペア。
    Enter file in which to save the key (/home/user/.ssh/id_rsa):は、保存するファイルを入力して( /ホーム/ユーザー/ .ssh / id_rsa )キー:
    Created directory ‘/home/user/.ssh’. 'ディレクトリに作成/ホーム/ユーザー/ .ssh ' 。
    Enter passphrase (empty for no passphrase):パスフレーズ(パスフレーズ)の空入力してください:
    Enter same passphrase again:もう一度同じパスフレーズを入力してください:
    Your identification has been saved in /home/user/.ssh/id_rsa.あなたの身分証明書に保存されている/ホーム/ユーザー/ .ssh / id_rsa 。
    Your public key has been saved in /home/user/.ssh/id_rsa.pub.あなたの公開キーに保存されている/ホーム/ユーザー/ .ssh / id_rsa.pub 。
    The key fingerprint is:鍵の指紋です:
    79:8a:08:bd:fb:da:71:59:f4:28:e6:c3:01:12:5a:69 user@radon.example.com 79:8 1 : 08 : BDの:ブリアトーレ:ダ: 71:59 : F4を: 28 : e6 : c3 : 1時12分05秒1 : 69 user@radon.example.com

    [user@radon ~]$ cd .ssh/ [ラドン@ユーザ〜 ] $ cdします。のssh /
    [user@radon .ssh]$ ls [ユーザ@ラドン。のssh ] $ lsコマンド
    id_rsa id_rsa.pub known_hosts id_rsa id_rsa.pub known_hosts
    [user@radon .ssh]$ cat id_rsa.pub > authorized_keys [ユーザ@ラドン。のssh ] $猫id_rsa.pub > authorized_keysに
    [user@radon .ssh]$ chmod 644 authorized_keys [ユーザ@ラドン。のssh ] $ chmod 644 authorized_keysに

    The chmod command above is very important. chmodコマンドを使う上非常に重要です。 Your authorized_keys file must only be writable by you.あなたのauthorized_keysにファイルのみが書き込み可能である必要があります。 If is is group writable sshd will refuse to use it. sshdを使用する場合はグループの書き込みを拒否するということです。

  2. This step is also very important!この手順は非常に重要です! Next you must convert your OpenSSH private key into PuTTY’s SSH-2 key format.次の場合はPuTTYのSSH - 2キー形式にOpenSSHの秘密鍵を変換する必要があります。 I initially tried using the OpenSSH private key itself, not realizing that PuTTY couldn’t read it properly.私は、 OpenSSHの秘密鍵自体は、適切に読み取ることができませんでしたはPuTTYを使用して最初に気づいていないみました。 It took a bit of digging to figure out why it wasn’t working.なぜそれがそれを理解する掘削作業ではなかったのは少しかかった。 Who knew that PuTTY, OpenSSH, and ssh.com’s implementations of SSH-2 keys were so different?人はPuTTY 、 OpenSSHが、 ssh.com ' sのSSHの実装- 2のキーは異なっていたことを知っていたか?

    [user@radon .ssh]$ puttygen id_rsa -o id_rsa.ppk [ユーザ@ラドン。のssh ] $ puttygen id_rsa -またはid_rsa.ppk

  3. Next, I plugged my N95 into my laptop with a USB cable and copied id_rsa.ppk to a temp folder on the phone’s mass memory.次に、私は自分のノートパソコンにUSBケーブルで、携帯電話の大量のメモリ上に一時フォルダにコピーid_rsa.ppk私のN95を接続します。
  4. Now, fire up PuTTY on your N95 and choose Options -> Edit -> General , then add the remote host name or address, as well as your user name.さて、あなたのN95を火にパテを塗ると選択オプション ->編集- >一般的な、そのリモートホスト名またはアドレスを、さらに自分のユーザー名として追加します。

  5. Next, press the Right toggle once to move to the next screen.次に、一度は、 次の画面に移動するには、右トグルを押します。 This is where you select your Private Key .ここであなたの秘密を選択している。 Follow the sequence outlined in the screenshots below to see how I chose E:\temp\id_rsa.ppk. \ id_rsa.ppk 、シーケンス、下のスクリーンショットで確認する方法を選んだ私は電子概説: \気温に従ってください。


  6. Press Back twice to go back to the main PuTTY screen, then press Options -> Connect and you are now connected without needing a password. 先頭を2回押して、メイン画面にはPuTTYし、前に戻ってを押してオプション->続し、現在のパスワードを必要とせずに接続されている。

Related Posts: 関連記事:
  • How to install additional fonts for PuTTY on the N95 N95を追加する方法はPuTTYのフォントをインストールするには
  • How to install and use PuTTY on your Nokia N95インストール方法を使用し、ノキアN95にはPuTTY
  • 10 ways to get the most out of your Apple RemoteあなたのApple Remoteコントローラを最大限に活用する10の方法
  • How to set up and use PortableApps on your USB thumb driveどのように設定して、ご自分のUSBサムドライブにPortableAppsを使用する
  • BlogRush - An Experiment | Update 1 BlogRush -実験|更新1
  • Get Simple Help tutorials just like this one in your email inbox every day - for free!お客様のメールの受信ボックスに毎日-無料で、この1つだけのような簡単なヘルプのチュートリアルを入手! Just enter your email address below:すぐ下にあなたのメールアドレスを入力してください:

    You can always opt out of this email subscription at any time.いつでも、いつでも、このメール購読のオプトアウトすることができます。


    Bookmark and Share ブックマークして共有する

    { 0 comments… 0コメント... add one now今すぐ追加 }

    Leave a Commentコメントを残しなさい

    You can use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> これらのHTMLタグ属性:の<a href=""使用することができますtitle=""> <abbr title=""> <acronym title=""> <b>ダウンロード<blockquote cite=""> <cite>の<code> <del datetime="">の<em> <i> <q cite=""> <strike> <strong>