Do I need to have a private key on the interim server pc2?
I want to connect to pc3 through pc2 without any possibility for pc2 to intercept or forge traffic from pc1 to pc3. I am on pc1.
There is following configuation on pc1.
Host pc2
HostName pc2
User user2
ProxyCommand ssh -W %h:%p user@pc3
How can I setup what public/private key pair will be used for pc3 when connecting to it through pc2?