Add support for /ssh/bastion method.
This commit is contained in:
parent
a6edcd0a3d
commit
8bf3bf701e
8 changed files with 197 additions and 2 deletions
|
@ -261,6 +261,7 @@ func (h *caHandler) Route(r Router) {
|
|||
r.MethodFunc("POST", "/ssh/config/{type}", h.SSHConfig)
|
||||
r.MethodFunc("POST", "/ssh/check-host", h.SSHCheckHost)
|
||||
r.MethodFunc("GET", "/ssh/get-hosts", h.SSHGetHosts)
|
||||
r.MethodFunc("POST", "/ssh/bastion", h.SSHBastion)
|
||||
|
||||
// For compatibility with old code:
|
||||
r.MethodFunc("POST", "/re-sign", h.Renew)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue