mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-02-08 11:05:31 -05:00
ProxyJump for hosts outside of 10.* range
removed unnecessary values for proxy host
This commit is contained in:
parent
fa75c9837c
commit
e916bb066d
@ -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…
x
Reference in New Issue
Block a user