Host gateway2 HostName 192.168.3.1 User gw2user Host gateway1 HostName 192.168.2.1 User gw1user Host target HostName 192.168.1.2 ProxyJump gateway2,gateway1