LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 10-06-2004, 11:31 AM   #1
ronin1
LQ Newbie
 
Registered: Jun 2004
Posts: 8

Rep: Reputation: 0
ssh-keygen on network mnt'd HOME


I'm trying to ssh between 6 rh9 servers without having to type my password in evertime. The problem i'm running into is my users home directory is shared across all 6 boxes. I've tried to create unique private keys in the same .ssh directory then cat the pubic keys to "authorized_keys" (same directory). The unique naming convention i'm using is "id_rsa_user_host --- id_rsa_user_host.pub". Is there a way I could have multiple private keys in the id_rsa file?

Does anyone have an easier way to do this?
 
Old 10-06-2004, 01:27 PM   #2
christhom
Member
 
Registered: Sep 2004
Distribution: Debian sarge/sid
Posts: 41

Rep: Reputation: 15
authorized_keys is a ssh1-ism. You should be using ssh protocol 2, in which case you should just be able to add all the .pub files to the ~/.ssh2/authorization file. e.g., mine looks like this:
========
cthom@mycomputer:~/.ssh2$ more authorization
Key id_dsa.pub
Key id_dsa_1024_b.pub
========

but if you home dir is cross-mounted, I don't see why you need more than 1 key. ssh should supply the same public/private key-pair between any machine. right?
 
  


Reply



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-agent, ssh-add and ssh-keygen AND CVS raylpc Linux - General 2 11-19-2008 02:50 AM
How to ssh-keygen? Baran Linux - Networking 5 04-26-2005 02:40 PM
ssh-keygen on network mnt /home ronin1 Linux - Software 4 10-06-2004 01:54 PM
ssh-keygen problem mijohnst Linux - Networking 5 07-20-2004 01:00 PM
sftp and ssh-keygen help please grayhost Linux - Newbie 2 06-26-2003 05:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 06:15 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration