Establish SSH session for Kubernetes
POST/plugin-api/kubernetes/ssh/connect
Opens an SSH session to a host for kubectl. When the host asks for a code, a browser sign-in or a password, the reply says so and the session waits for connect-totp or connect-browser-sign-in.
Request
Responses
- 200
- 400
- 403
- 404
- 500
Connected, or a prompt the user has to answer.
Missing sessionId or hostId.
Kubernetes is not enabled for this host, or the user lacks kubernetes.use.
Host not found.
SSH connection failed.