My usage scenario is this:
I have many A type server names as "A1","A2","A3", and one B type server , and have many 'C' type server names as "C1""C2""C3".
when I ssh use openssh from A as command "ssh a...@B.com " or “ssh d...@B.com”, then the ssh will link to C1 or C2 through B.
Only use PublicKey/PrivateKey for SSh Cert Type
only B knows which "C" type server the "user" want to ssh, the relation is stored in B`s mysql. when "user" ssh to B server , the "SSh Proxy" will search the goal C type server , and the "user" will as a common new user "god" on C type servers.
so ,above is my requirement. And I want to use go.crypto/ssh to implement the "Proxy server" and this Proxy will install in B Server. So as a client in A type server , client will not notice this "Proxy server".
Thank you for help.