Establish SSH session for Docker
POST/plugin-api/docker/ssh/connect
Opens an SSH session to a host for Docker operations. 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.
Docker is not enabled for this host, or the user lacks docker.use.
Host not found.
SSH connection failed.