Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Alternative Operating Systems > Location of SSH keys

Location of SSH keys
Thread Tools
Clinically Insane
Join Date: Jun 2001
Location: planning a comeback !
Status: Offline
Reply With Quote
Jul 1, 2007, 10:36 PM
 
Can somebody help me understand what locations are used for SSH keys.

I know of the following (possible) locations:

~/.ssh/ -- file: id_[xxx] or identity
/private/etc/ -- file: ssh_host[_xxx]_key
/private/var/root/.ssh/ -- file: id_[xxx] or identity

So far, I thought that the user's keys are in ~/.ssh/, but I don't understand the /private/etc/ files.
What do the ssh_host[_xxx]_key's do ?

Thanks for your help.

-t
(Last edited by turtle777; Jul 2, 2007 at 12:43 AM. )
     
Fresh-Faced Recruit
Join Date: Feb 2007
Status: Offline
Reply With Quote
Jul 2, 2007, 12:15 AM
 
It sounds like you're looking for some kind of SSH (or more particularly OpenSSH) primer.

Wikipedia is a good place to start. There are links on the OpenSSH article there to some
good Linux Journal articles, with lots of explanations regarding the many types of
keys in the second part.

The 101 Uses of OpenSSH: Part II of II | Linux Journal

HTH
     
Clinically Insane
Join Date: Jun 2001
Location: planning a comeback !
Status: Offline
Reply With Quote
Jul 2, 2007, 12:42 AM
 
Originally Posted by nospamboz View Post
It sounds like you're looking for some kind of SSH (or more particularly OpenSSH) primer.

The 101 Uses of OpenSSH: Part II of II | Linux Journal
Thanks for the link. Unfortunately, it doesn't answer my question.
It only references ~/.ssh/ (or $home/.ssh/), but not the other locations.

-t
     
   
Thread Tools
Forum Links
Forum 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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 05:31 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2