A combination of SSH connections can help you. Assuming the following layout: Client → Middman → Purpose
On the client:
ssh user@Middleman -L 1337:Destination:22
This will allow you to directly SSH to Destination from Client in another session:
On the client:
ssh user@localhost -p 1337
, ssh user @Destination. stdin , .