Generating an RSA key pair for use with PuTTY on the N95 Schaffung eines RSA-Schlüsselpaares für die Verwendung mit PuTTY auf dem N95

by Ken Murray on October 15, 2008 von Ken Murray am 15 Oktober, 2008

LinuxSymbian

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. Wie ich begann meine Tutorial zum Hinzufügen von Fonts zu PuTTY auf dem N95, ich sehr schnell entschieden, dass mit, um einen Benutzernamen und ein Kennwort jedes Mal, wenn ich angemeldet wurde, die zu lang. So I generated an RSA key pair with a blank pass phrase just to save time. Also habe ich erzeugt ein RSA-Schlüsselpaar mit einem leeren Passwort-Satz nur, um Zeit zu sparen. Don’t worry, of course I deleted the key pair as soon as I was finished. Machen Sie sich keine Sorgen, natürlich das ich gelöscht habe das Schlüsselpaar, sobald ich fertig war. The last thing I need is to lose my phone and have some stranger logging into my server! Das Letzte, was ich brauche, ist zu verlieren, mein Handy und haben einige Fremde die Anmeldung in meinem Server!

Note: this procedure is not specific to just the N95, nor is it only specific to Linux. Hinweis: Dieses Verfahren ist nicht nur spezifisch für die N95, noch ist es nur speziell für Linux. I use Linux in my examples because I’m not a Windows user. Ich benutze Linux in meinem Beispiele, denn ich bin nicht ein Windows-Nutzer. The procedure described below on how to generate RSA keys can be adapted to puttygen.exe on Windows. Das Verfahren beschrieben, wie die RSA-Schlüssel generieren können so angepasst werden, dass puttygen.exe auf Windows.

  1. Here is what I did on the Linux box first: Hier ist das, was ich habe auf der Linux-Box zuerst:

    [user@radon ~]$ ssh-keygen [user @ Radon ~] $ ssh-keygen
    Generating public/private rsa key pair. Generierung des öffentlichen / privaten RSA-Schlüsselpaares.
    Enter file in which to save the key (/home/user/.ssh/id_rsa): Geben Sie Datei, in der der Schlüssel gespeichert wird (/ home / user / .ssh / id_rsa):
    Created directory ‘/home/user/.ssh’. Erstellt Verzeichnis "/ home / user / .ssh '.
    Enter passphrase (empty for no passphrase): Geben Sie das Mantra (leer für keine Passphrase):
    Enter same passphrase again: Geben Sie dasselbe Passwort erneut:
    Your identification has been saved in /home/user/.ssh/id_rsa. Ihre Identifikation wurde in / home / user / .ssh / id_rsa.
    Your public key has been saved in /home/user/.ssh/id_rsa.pub. Ihr öffentlicher Schlüssel wurde in / home / user / .ssh / id_rsa.pub.
    The key fingerprint is: Der Schlüssel Fingerabdruck ist:
    79:8a:08:bd:fb:da:71:59:f4:28:e6:c3:01:12:5a:69 user@radon.example.com 79:8 a: 08: bd: fb: da: 71:59: F4: 28: e6: C3: 01:12:5 a: 69 user@radon.example.com

    [user@radon ~]$ cd .ssh/ [user @ Radon ~] $ cd. ssh /
    [user@radon .ssh]$ ls [user @ Radon. 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 [user @ Radon. ssh] $ cat id_rsa.pub> authorized_keys
    [user@radon .ssh]$ chmod 644 authorized_keys [user @ Radon. ssh] $ chmod 644 authorized_keys

    The chmod command above is very important. Der chmod Befehl oben ist sehr wichtig. Your authorized_keys file must only be writable by you. Ihre authorized_keys-Datei muss nur schreibbar von Ihnen. If is is group writable sshd will refuse to use it. Wenn es Gruppen-schreibbar ist sshd wird sich weigern, es zu benutzen.

  2. This step is also very important! Dieser Schritt ist auch sehr wichtig! Next you must convert your OpenSSH private key into PuTTY’s SSH-2 key format. Weiter müssen Sie Ihre OpenSSH privaten Schlüssel in PuTTY SSH-Schlüssel-2-Format. I initially tried using the OpenSSH private key itself, not realizing that PuTTY couldn’t read it properly. Ich versuchte zunächst mit der OpenSSH privaten Schlüssel selbst, nicht zu realisieren, dass PuTTY konnte nicht richtig lesen. It took a bit of digging to figure out why it wasn’t working. Es dauerte ein wenig zu graben, um herauszufinden, warum es nicht funktioniert. Who knew that PuTTY, OpenSSH, and ssh.com’s implementations of SSH-2 keys were so different? Wer wusste, dass PuTTY, OpenSSH, und ssh.com 's-Implementierungen von SSH-2-Tasten waren so anders?

    [user@radon .ssh]$ puttygen id_rsa -o id_rsa.ppk [user @ Radon. ssh] $ PuTTYgen id_rsa-o 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. Weiter, ich meine N95 steckt in meinem Laptop mit einem USB-Kabel und kopiert id_rsa.ppk zu einem Temp-Ordner auf dem Telefon-Masse-Speicher.
  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. Nun, starten Sie PuTTY auf Ihrem N95 und wählen Sie "Optionen -> Bearbeiten -> Allgemein, dann fügen Sie den Remote-Host-Namens oder der Anschrift, sowie Ihren Benutzernamen.

  5. Next, press the Right toggle once to move to the next screen. Weiter, drücken Sie die rechte toggle einmal, um zum nächsten Bildschirm. This is where you select your Private Key . Dies ist, wo Sie Ihren privaten Schlüssel. Follow the sequence outlined in the screenshots below to see how I chose E:\temp\id_rsa.ppk. Befolgen Sie die Reihenfolge in der die Screenshots unten, um zu sehen, wie ich wählte E: \ temp \ 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. Drücken Sie zweimal Zurück gelangen Sie zurück zum Haupt-Bildschirm PuTTY, und drücken Sie dann Optionen -> Connect und Sie sind inzwischen angeschlossen, ohne dass ein Passwort.

Related Posts: Verwandte Einträge:
  • How to install additional fonts for PuTTY on the N95 Wie installiert man zusätzliche Schriftarten für PuTTY auf dem N95
  • How to install and use PuTTY on your Nokia N95 Wie zu installieren und zu verwenden PuTTY auf Ihrem Nokia N95
  • 10 ways to get the most out of your Apple Remote 10 Wege, um das Beste aus Ihrem Apple Remote Fernbedienung
  • How to set up and use PortableApps on your USB thumb drive Wie die Einrichtung und Nutzung PortableApps auf Ihrem USB-Laufwerk Daumen
  • BlogRush - An Experiment | Update 1 BlogRush - Ein Experiment | Update 1
  • Get Simple Help tutorials just like this one in your email inbox every day - for free! Holen Sie sich Einfache Hilfe Tutorials wie diese ein in Ihrem E-Mail-Posteingang jeden Tag - gratis! Just enter your email address below: Geben Sie einfach Ihre E-Mail-Adresse unten ein:

    You can always opt out of this email subscription at any time. Sie können immer Opt-out in dieser E-Mail-Abonnement zu jeder Zeit.


    Bookmark and Share Lesezeichen und Aktie

    { 0 comments… (0 Kommentare ... add one now Add jetzt ein } )

    Leave a Comment Schreibe einen Kommentar

    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> Sie können diese HTML-Tags und Attribute: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>