LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux 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

Reply
 
Search this Thread
Old 11-28-2008, 02:53 AM   #1
anil.beni
LQ Newbie
 
Registered: Feb 2007
Posts: 1

Rep: Reputation: 0
Thumbs up how to set key based authentication in putty to login to remote redhat systems.


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
 
Old 11-28-2008, 04:24 AM   #2
rizwanrafique
Member
 
Registered: Jul 2006
Distribution: Debian, Ubuntu, openSUSE, CentOS
Posts: 147

Rep: Reputation: 19
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.
 
  


Reply

Tags
putty, ssh


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 11:50 AM
Shared key authentication and Putty mpmackenna Linux - Newbie 8 10-25-2007 09:06 AM
LXer: Key-Based SSH Logins With PuTTY LXer Syndicated Linux News 1 12-10-2006 11:21 AM
ssh public key authentication to different remote home directory shawn_t Linux - Networking 2 03-20-2005 03:39 PM
public/private key authentication with PuTTY NetAX Linux - Security 5 10-27-2004 06:00 PM


All times are GMT -5. The time now is 10:58 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
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration