Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

return ssh port and endpoint for direct connection #451

Merged
merged 2 commits into from
Oct 23, 2024

Conversation

jdewinne
Copy link
Member

No description provided.

@marccampbell
Copy link
Member

How can this work since we will not be sharing the public/private key with the customer?

@jdewinne
Copy link
Member Author

How can this work since we will not be sharing the public/private key with the customer?

Because we add the github user's public key onto each vm at the moment:
https://github.com/replicatedhq/reliability-matrix/blob/main/cluster-provisioner/pkg/almalinux/cloudinit.go#L52

pkg/types/vm.go Outdated
@@ -20,8 +20,8 @@ type VM struct {

EstimatedCost int64 `json:"estimated_cost"` // Represents estimated credits for this vm based on the TTL

OverlayEndpoint string `json:"overlay_endpoint,omitempty"`
OverlayToken string `json:"overlay_token,omitempty"`
SSHPort int64 `json:"ssh_port,omitempty"`
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i understand now. we should maybe rename this to "direct ssh port" or something, since we will have a more supported ssh endpoint via CMX forwarder

@jdewinne jdewinne merged commit a526240 into main Oct 23, 2024
5 checks passed
@jdewinne jdewinne deleted the joshd/cmx-vm-add-private-public-key branch October 23, 2024 23:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants