mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-07-12 01:49:34 -04:00
ProxyJump for hosts outside of 10.* range
removed unnecessary values for proxy host
This commit is contained in:
parent
5c24c9d22f
commit
2d66ecf8d6
1 changed files with 4 additions and 7 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue