Results 1 to 3 of 3
  1. #1
    Join Date
    Aug 2012
    Location
    California,USA
    Posts
    99

    putty using keys

    How is connection made to putty.exe using keys so I establish ssh connection?
    On my Own!

  2. #2
    Join Date
    Apr 2011
    Location
    Massachusetts
    Posts
    123
    This article helped me set up ssh keys for putty http://www.howtoforge.com/ssh_key_based_logins_putty

  3. #3
    Join Date
    Nov 2011
    Location
    Nasik, MH,INDIA
    Posts
    862
    Hello,

    You can Configure SSH server to login with Keys Authentication. It is needed for it to make private key for client and public key for server.


    1.Download 'puttygen.exe' from Putty's site.

    2.Start 'puttygen.exe' and click 'Generate' button.

    3.Move mouse untill progress bar will be full.

    4.Set passphrase in 'Key passphrase' and 'Confirm passphrase'. Next, Click 'Save public key' and 'Save private key' and Save keys with a file name you want.

    5.Open 'public_key' you saved.

    6.Remove the first line and last line and replace the second line to 'ssh-rsa' and then remove all indention like follows. 'ssh-rsa xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=='

    7.Login with a user and put 'public_key'.

    #mkdir .ssh
    #chmod 700 .ssh
    #cd .ssh
    #vi authorized_keys
    # Copy and Paste 'public_key'
    ssh-rsa xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx==
    #chmod 600 authorized_keys
    #su -
    Password: #Please enter password of your server
    #vi /etc/ssh/sshd_config
    # line 66: Change
    PasswordAuthentication no
    #/etc/rc.d/init.d/sshd restart
    Stopping sshd: [ OK ]
    Starting sshd: [ OK ]


    7.Start Putty and select 'private_key' like follows.

    8. All OK, connect to the server with keys authentication

    9.Passphrase you set is required to input ftp login. After inputiing correct one, you can log-in using private keys

Similar Threads

  1. Replies: 0
    Last Post: 08-11-2010, 05:18 AM
  2. SSH/Putty keys
    By GazCBG in forum Hosting Security and Technology
    Replies: 4
    Last Post: 08-07-2008, 11:04 PM
  3. In Putty
    By rockergirl in forum Web Hosting Lounge
    Replies: 2
    Last Post: 04-19-2006, 11:21 AM
  4. putty
    By CresHost in forum Hosting Security and Technology
    Replies: 8
    Last Post: 04-06-2004, 07:04 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •