Support SSH chaining through gateway for capify-ec2 ssh task