LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Newbie
User Name
Password
Linux - Newbie This forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Tags used in this thread
Popular LQ Tags ,

Reply
 
Thread Tools
Old 11-28-2008, 03:53 AM   #1
anil.beni
LQ Newbie
 
Registered: Feb 2007
Posts: 1
Thanked: 0
Thumbs up how to set key based authentication in putty to login to remote redhat systems.


[Log in to get rid of this advertisement]
I want to connect to remote system from putty and i have to connect a lot no of servers remotly so i want to set password less authentication !
Please specify with steps.
Thanks a lot
anil.beni is offline  
Tag This Post ,
Reply With Quote
Old 11-28-2008, 05:24 AM   #2
rizwanrafique
Member
 
Registered: Jul 2006
Distribution: Debian, Ubuntu, openSUSE, CentOS
Posts: 146
Thanked: 7
Steps:

- You need a small utility called pageant that is available from putty's website.
- You of course need a key-pair. Pageant needs private key in putty's format. If (like many of us) you generated key on a linux machine then it's most likely in openssh format. puttygen (another utility) can convert it to putty format.
- Convert the private key and store it somewhere on local.
- Fire up pageant and load your key in there. It just sits in the background (just like ssh-agent).
- Use usual setup on Linux server for putlic keys. That is, put your putlic key in ~/.ssh/authorized_keys file.
- Open putty session by using the username@host pattern. Under SSH->Auth category select "Attempt authentication using pageant" and "Allow agent forwarding". The later will forward private keys between sessions making it easy to go from one server host to another without using password (just like ssh -A on Unix/Linux).

I guess you're good to go.
rizwanrafique is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: How To Set Up SSH With Public-Key Authentication On Debian Etch LXer Syndicated Linux News 0 03-30-2008 12:50 PM
Shared key authentication and Putty mpmackenna Linux - Newbie 8 10-25-2007 10:06 AM
LXer: Key-Based SSH Logins With PuTTY LXer Syndicated Linux News 1 12-10-2006 12:21 PM
ssh public key authentication to different remote home directory shawn_t Linux - Networking 2 03-20-2005 04:39 PM
public/private key authentication with PuTTY NetAX Linux - Security 5 10-27-2004 07:00 PM


All times are GMT -5. The time now is 10:15 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration