SSH
Rebonds
vim .ssh/config
Host riri* fifi* loulou*
ProxyCommand nohup ssh -e none gw-donald -W %h:%p
Host *.test.slashroot.fr
ProxyCommand nohup ssh -e none gw-test -W %h:%p
Username selon machine
vim .ssh/config
CanonicalDomains test.slashroot.fr qual.slashroot.fr dev.slashroot.fr prod.slashroot.fr
CanonicalizeHostname yes
Host *.test.slashroot.fr
User johan-test
Host *.qual.slashroot.fr
user johan-qual
Tunnels
SSH source => dest (localhost:8140 => server:8140)
ssh -L 8140:localhost:8140 server.fqdn -f -N
SSH dest => source
ssh -R 8140:localhost:8140 client.fqdn -f -N