dotfiles/ssh_config

34 lines
973 B
Plaintext

Host rasp
HostName 192.168.1.50
User coloc
Host spoutnik
HostName 192.168.1.51
User adrien
Host abricot ananas concombre celeri courgette dahlia doradille diplotaxis df-ykl df-ymf df-ymk
HostName %h.machine.deuxfleurs.fr
IdentityFile ~/.ssh/deuxfleurs_ed25519
User adrien
LocalForward 14646 127.0.0.1:4646
LocalForward 8501 127.0.0.1:8501
LocalForward 1389 bottin.service.prod.consul:389
LocalForward 5432 psql-proxy.service.prod.consul:5432
Host hammerhead
HostName ns3118584.ip-5-135-179.eu
Port 110
User adrien
IdentityFile ~/.ssh/hammerhead_ed25519
# Synapse port forwarding
LocalForward 8008 172.20.0.11:8008
Host hammerhead_decrypt
HostName ns3118584.ip-5-135-179.eu
Port 2323
User root
IdentityFile ~/.ssh/hammerhead_decrypt
# Prevents signatures mismatch
UserKnownHostsFile ~/.ssh/known_hosts_hammerhead_decrypt
# Fails at home, works with Serenity. Go figure.