LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices

Reply
 
Search this Thread
Old 06-08-2005, 10:41 PM   #1
lowpro2k3
Member
 
Registered: Oct 2003
Location: Canada
Distribution: Slackware
Posts: 340

Rep: Reputation: 30
Can someone explain the basics of private-key authentication through SSH?


I know I could google it, but if you have -done- it before and can explain how the private key is secured on the client machine in about a paragraph, you saved me some time. Im not thinking about implementing it (yet...), I just kind of want a general idea of what its all about.

OK fine, I'll go google it too... But if you have experience with it I wouldnt mind getting a little intro to it.

Thanks.
 
Old 06-08-2005, 11:43 PM   #2
johnson_steve
Senior Member
 
Registered: Apr 2005
Location: BrewCity, USA (Milwaukee, WI)
Distribution: Xubuntu 9.10, Gentoo 2.6.27 (AMD64), Darwin 9.0.0 (arm)
Posts: 1,152

Rep: Reputation: 46
ok you get a key pair a private and public key the private key never leaves your computer but when you ssh into another computer the public key is compaired to the authorized_keys file on the server if your public key is in that file it lets you in without a password. your keys are usualy something like:

~/.ssh/id_rsa
~/.ssh/id_rsa.pub

on the server side the authorized _keys file is in:

~/.ssh/authorized_keys

and it may have many keys one per line if you want any helpsetting this up just ask
 
Old 06-09-2005, 12:22 AM   #3
Capt_Caveman
Senior Member
 
Registered: Mar 2003
Distribution: Fedora
Posts: 3,658

Rep: Reputation: 57
It's also important to note that the public and private keys are mathematically related. Here are a few links on asymetric key exchange protocols that might be helpful:

http://www.securitydocs.com/library/2978
http://www.ssh.com/support/cryptogra...symmetric.html

For a really good read, pick up a copy of Applied Cryptography.
 
  


Reply


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
ssh public key authentication teacup Linux - Networking 4 11-28-2011 12:27 AM
SSH - Problem with Public Key Authentication HaPagan Linux - Security 5 11-29-2005 12:27 AM
SSH public/private key authentication with GnuPG keys? thinksincode Linux - Security 1 02-25-2005 03:33 PM
public/private key authentication with PuTTY NetAX Linux - Security 5 10-27-2004 07:00 PM
ssh-key authentication failing on one machine chr15t0 Linux - Security 3 08-21-2003 05:24 PM


All times are GMT -5. The time now is 04:31 PM.

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