# .ssh/config file examples ## Dynamic port redirection ``` Host Hostname 10.x.x.x # hostname or destiny ip User root DynamicForward 8000 # -D 8000 IdentityFile ~/.ssh/albkey ``` ## Several jumphost ### Bastion Node ``` Host jumphost Hostname destiny_hostname User root IdentityFile ~/.ssh/albkey ```` # first destiny host ``` Host dest_host1 Hostname ip_or_hostname_host1 ProxyCommand ssh -W %h:%p jumphost User alberto ``` # second destiny host ``` Host dest_host2 Hostname ip_or_hostname_host2 ProxyCommand ssh -W %h:%p jumphost User admalbertommed IdentityFile ~/.ssh/albkey2 ```