mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-02-08 11:05:31 -05:00
Use correct pathing and improve CLI tip
This commit is contained in:
parent
ff142be322
commit
0f935a80c8
@ -116,7 +116,7 @@ func writeCertificateForKey(cmd *cobra.Command, keyPath string, fh file.Handler,
|
||||
if err := fh.Write(fmt.Sprintf("%s/ca_cert.pub", constants.TerraformWorkingDir), ssh.MarshalAuthorizedKey(&certificate), file.OptOverwrite); err != nil {
|
||||
return fmt.Errorf("writing certificate: %s", err)
|
||||
}
|
||||
cmd.Printf("You can now connect to a node using 'ssh -F %s/ssh_config -i <your private key> <node ip>'.\nYou can obtain the private node IP via the web UI of your CSP.\n", constants.TerraformWorkingDir)
|
||||
cmd.Printf("You can now connect to a node using 'ssh -F %s/ssh_config -i <your private key> <node ip>' in your constellation workspace.\nYou can obtain the private node IP via the web UI of your CSP.\n", constants.TerraformWorkingDir)
|
||||
|
||||
return nil
|
||||
}
|
||||
|
@ -307,7 +307,7 @@ Host ${azurerm_public_ip.loadbalancer_ip[0].fqdn}
|
||||
|
||||
Host *
|
||||
PreferredAuthentications publickey
|
||||
CertificateFile=ca_cert.pub
|
||||
CertificateFile=constellation-terraform/ca_cert.pub
|
||||
User root
|
||||
ProxyJump ${azurerm_public_ip.loadbalancer_ip[0].fqdn}
|
||||
EOF
|
||||
|
Loading…
x
Reference in New Issue
Block a user