1834498 Members
2786 Online
110067 Solutions
New Discussion

keygen

 
SOLVED
Go to solution
navin
Super Advisor

keygen

Hello All,
We have some sand boxes and testing the ssh.
I have been successfully establishing the passwd less ssh connection between 2 servers.
Now there is a requirement to use many accounts from the source test server A to multiple target servers(test) for multiple accounts.I have to know the requirement for this. I will surely appreciate .
Learning ...
4 REPLIES 4
Laurent Menase
Honored Contributor

Re: keygen

Do you mean something other than generate keys for each accounts on source server, and add all the public keys needed to the accounts .ssh/authorized_keys on target systems?

Are you looking for a way to define group rules?
like
GroupA users of servertest have the ability to log to account1 account2, accountn on server1, server2, servern?

AwadheshPandey
Honored Contributor

Re: keygen

All you need ssh installed and enabled on boxes.

http://forums13.itrc.hp.com/service/forums/questionanswer.do?admit=109447627+1224578610578+28353475&threadId=851253
It's kind of fun to do the impossible
navin
Super Advisor

Re: keygen

my question is ..do the same account need to exist in both the boxes.
thanks
Learning ...
OldSchool
Honored Contributor
Solution

Re: keygen

"my question is ..do the same account need to exist in both the boxes. thanks"

the short answer "no".

for instance, servera has user u1. serverb has user u2.

on servera, logged in as u1, the command

ssh u2@serverb

will succede w/o a password IF the public key for u1 on servera is in the authorized keys file for u2 on serverb.

I'm not sure I answered your question, because I'm not sure I understood it exactly, nor why it would be an issue to have the same accounts on the destination servers....the requirements (and the reasons behind them) are unclear