I have a SSH proxy problem.
If I have three machines A, B and C. A can't reach C, but B can both reach
A and C.
In order to connect form A to C you would connect from A to B with ssh and
on B connect to C. Now you have a proxy connection from A through B to C.
But I use only key authentication. B and C are configured to accept the key
from A. But B as not being accepted as a total secure host (because it is
the gateway to the evale world), does not have authentication keys.
Conquering this gateway would mean every host can be reached by using the
authentication key on the gateway.
Now if I want to connect from A to C I log in using the private key on host
A. But if I want to log in from host B to C I don't have a private key
there to use.
Does anyone know if it is possible to use the above scenario but be able to
use my private key from host A on host B to access host C. Of course I
don't want to copy the private key from host A to host B because of the
risk of compromising this key.
I hope what I am saying here makes sense to all. Does anyone know a solution?
Regards, Koos.