Results 1 to 3 of 3
Thread: putty using keys
-
09-20-2012, 12:25 PM #1Junior Guru Wannabe
- 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!
-
09-20-2012, 12:35 PM #2WHT Addict
- 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
-
09-20-2012, 12:50 PM #3Disabled
- 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
ssh-rsa xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx==#chmod 600 authorized_keys#su -Password: #Please enter password of your server#vi /etc/ssh/sshd_config
PasswordAuthentication no#/etc/rc.d/init.d/sshd restart
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
-
why does laptop manufacturers swap the function keys with non-vital keys?
By SoftDux in forum Computers and PeripheralsReplies: 0Last Post: 08-11-2010, 05:18 AM -
SSH/Putty keys
By GazCBG in forum Hosting Security and TechnologyReplies: 4Last Post: 08-07-2008, 11:04 PM -
In Putty
By rockergirl in forum Web Hosting LoungeReplies: 2Last Post: 04-19-2006, 11:21 AM -
putty
By CresHost in forum Hosting Security and TechnologyReplies: 8Last Post: 04-06-2004, 07:04 AM