Documentation ¶
Index ¶
Constants ¶
View Source
const ( DefaultAgentAPIAddress = "unix:///tmp/teleport.agent.api.sock" LoginSuccess = "Logged in successfully" )
View Source
const (
DefaultAgentAddress = "unix:///tmp/teleport.agent.sock"
)
View Source
const WrongPasswordError = "ssh: handshake failed: ssh: unable to authenticate, attempted methods [none password], no supported methods remain"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AgentAPIServer ¶
type AgentAPIServer struct { httprouter.Router // contains filtered or unexported fields }
func NewAgentAPIServer ¶
func NewAgentAPIServer(ag *TeleAgent) *AgentAPIServer
func (*AgentAPIServer) Start ¶
func (s *AgentAPIServer) Start(apiAddr string) error
type TeleAgent ¶
type TeleAgent struct {
// contains filtered or unexported fields
}
func NewTeleAgent ¶
func NewTeleAgent() *TeleAgent
func (*TeleAgent) AuthMethod ¶
func (a *TeleAgent) AuthMethod() ssh.AuthMethod
Click to show internal directories.
Click to hide internal directories.