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"
|
||||
file_permission = "0600"
|
||||
content = <<EOF
|
||||
Host proxy
|
||||
HostName ${azurerm_public_ip.loadbalancer_ip[0].fqdn}
|
||||
PreferredAuthentications publickey
|
||||
IdentityFile ./emergency_ssh_key
|
||||
User root
|
||||
Host ${azurerm_public_ip.loadbalancer_ip[0].fqdn}
|
||||
ProxyJump none
|
||||
|
||||
Host 10.*
|
||||
Host *
|
||||
PreferredAuthentications publickey
|
||||
IdentityFile ./emergency_ssh_key
|
||||
User root
|
||||
ProxyJump proxy
|
||||
ProxyJump ${azurerm_public_ip.loadbalancer_ip[0].fqdn}
|
||||
EOF
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user