moved SSH agent forwarding related code into system agent