mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-08-03 04:26:20 -04:00
feat: use SSH host certificates (#3786)
This commit is contained in:
parent
95f17a6d06
commit
7ea5c41f9b
34 changed files with 706 additions and 117 deletions
|
@ -177,7 +177,7 @@ Emergency SSH access to nodes can be useful to diagnose issues or download impor
|
|||
3. Now you can connect to any Constellation node using your certificate and your private key.
|
||||
|
||||
```bash
|
||||
ssh -o CertificateFile=constellation_cert.pub -i <your private key> root@<ip of constellation node>
|
||||
ssh -o CertificateFile=constellation_cert.pub -o UserKnownHostsFile=./known_hosts -i <your private key> root@<ip of constellation node>
|
||||
```
|
||||
|
||||
Normally, you don't have access to the Constellation nodes since they reside in a private network.
|
||||
|
@ -185,16 +185,18 @@ Emergency SSH access to nodes can be useful to diagnose issues or download impor
|
|||
For this, use something along the following SSH client configuration:
|
||||
|
||||
```text
|
||||
Host <LB domain name>
|
||||
Host <LB public IP>
|
||||
ProxyJump none
|
||||
|
||||
Host *
|
||||
IdentityFile <your private key>
|
||||
PreferredAuthentications publickey
|
||||
CertificateFile=constellation_cert.pub
|
||||
UserKnownHostsFile=./known_hosts
|
||||
User root
|
||||
ProxyJump <LB domain name>
|
||||
ProxyJump <LB public IP>
|
||||
```
|
||||
|
||||
With this configuration you can connect to a Constellation node using `ssh -F <this config> <private node IP>`.
|
||||
You can obtain the private node IP and the domain name of the load balancer using your CSP's web UI.
|
||||
You can obtain the private node IP and the public IP of the load balancer using your CSP's web UI. Note that if
|
||||
you use the load balancers domain name, ssh host certificate verification doesn't work, so using the public IP is recommended.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue