mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-01-22 05:11:23 -05:00
ProxyJump for hosts outside of 10.* range
removed unnecessary values for proxy host
This commit is contained in:
parent
5c24c9d22f
commit
2d66ecf8d6
@ -302,16 +302,13 @@ resource "local_file" "ssh_config" {
|
|||||||
filename = "./ssh_config"
|
filename = "./ssh_config"
|
||||||
file_permission = "0600"
|
file_permission = "0600"
|
||||||
content = <<EOF
|
content = <<EOF
|
||||||
Host proxy
|
Host ${azurerm_public_ip.loadbalancer_ip[0].fqdn}
|
||||||
HostName ${azurerm_public_ip.loadbalancer_ip[0].fqdn}
|
ProxyJump none
|
||||||
PreferredAuthentications publickey
|
|
||||||
IdentityFile ./emergency_ssh_key
|
|
||||||
User root
|
|
||||||
|
|
||||||
Host 10.*
|
Host *
|
||||||
PreferredAuthentications publickey
|
PreferredAuthentications publickey
|
||||||
IdentityFile ./emergency_ssh_key
|
IdentityFile ./emergency_ssh_key
|
||||||
User root
|
User root
|
||||||
ProxyJump proxy
|
ProxyJump ${azurerm_public_ip.loadbalancer_ip[0].fqdn}
|
||||||
EOF
|
EOF
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user