Password-less login using putty on Nokia E-Series (e61)

This document will tackle on how to set password-less SSH login on Linux (Ubuntu) using RSA key

On occasion, I have the need to establish trust relationships between Unix/Linux boxes so that I can administer the box. Because OpenSSH allows you to run commands on remote systems, showing you the results directly, as well as just logging in to systems it’s ideal remote administration tool. One thing that you probably won’t want is to do though is store the remote system’s password in the script. Instead you’ll want to setup SSH so that you can login securely without having to give a password. In short, here’s how you leverage SSH to do that:

::On the PC/Server::

  • First, we need to install putty tools

% sudo aptitude install putty-tools

  • This can be done as a normal user, create a passwordless key

% ssh-keygen -t rsa

Generating public/private rsa key pair.
Enter file in which to save the key (/home/kramfs/.ssh/id_rsa):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /home/kramfs/.ssh/id_rsa.
Your public key has been saved in /home/kramfs/.ssh/id_rsa.pub.

  • Put the public part in your authorized_keys and restrict access to make sure that only you can view it

% cat .ssh/id_rsa.pub >> ~/.ssh/authorized_keys
% chmod 600 ~/.ssh/authorized_keys

  • Convert the private key file to putty format

% puttygen .ssh/id_rsa -o putty.ppk

::On the Phone::

In order to use the private key (putty.ppk) file, we need to move/copy it to the E61 via Bluetooth or USB cable. I saved it in C:/System/Apps/putty/putty.ppk

  1. Start up putty, select Options > Settings and tools > Authentication
  2. Put in your username, Add the Private key file.
  3. Under Options > Settings and tools > Connection, add the host and port
  4. We will save it as the default setting: Options > Settings and tools > Save as default
  5. And now the fun part: Options > Connection > Connect

Let me know how this helps you with your (mis)adventure. Happy hacking….

410 Comments

  1. Pingback: hauling services

  2. Pingback: dumpster rental argentine

  3. Vera

    If you want to get a great deal from this paragraph then you have
    to apply such techniques to your won weblog.

    Reply
  4. Pingback: waste removal

  5. Pingback: home buyer

  6. Pingback: I buy houses

  7. Pingback: credit check for tenant

  8. Pingback: warrant check

  9. Pingback: national background check

  10. Pingback: background checks for tenants

Leave a Comment

Your email address will not be published. Required fields are marked *