actual working ssh forwarding agent implementation