Test a user's SSH key against a git server
POST/api/test_user_ssh_connection/:name
Checks whether a git server accepts the SSH key on a user's profile, using only that key.
Request
Responses
- 200
- 400
- 403
- 404
- 422
- 500
Successful Response
The submitted server is not a valid host, or the user has no key configured.
Testing another user's key requires the Manage users permission.
User not found
Validation Error
ssh is unavailable on the server.