Link to home
Start Free TrialLog in
Avatar of akp007
akp007Flag for Afghanistan

asked on

ssh-keygen help needed

Dear Experts -

I am looking for some guidance. Here is the situation. Solaris operating system

Server A ===>  Server B ====> Server C.

I set up the ssh-keygen between the servers so that I can get into  B from A with out password.

from B to C with out password.

 My goal is to A to C with no password.

and I want this process to running in the background.

I appreciate your help. I have been struggling with since 2 days.

ASKER CERTIFIED SOLUTION
Avatar of Kerem ERSOY
Kerem ERSOY

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of akp007

ASKER

Thanks a lot for the material as well as for the response. I tried exactly the same

1. On server A , I created id_rsa and Id_rsa.pub.

2. copied it to Server B . Generated the Authorization key.

3.  copied the authorization_key to Server C.

4. I did exec ssh-agent /usr/bin/bash and ssh-add on Server A

5. I did the same thing on Server B

5. now I did the following on Server A
ssh -tC -L  6003:localhost:7003 serverB "ssh -C -L 7003:serverB:9002  Server C"

6. It still prompts for id_rsa to get server C.  

Am I doing any thing wrong, that you can think


Appreciate your help.
Avatar of akp007

ASKER

I am still getting password prompt. I will open that as separate question. Thanks for the help