In order to reach remote1 through a bastion host, add the following lines in your .ssh/config:
1 2 3 4 5 6 7 8 | Host bastion HostName bastion-01.golgoth.com User jgallinari Host remote1 HostName remote1.toto.swir User jgallinari ProxyCommand ssh jgallinari@bastion -W %h:%p |