Documentation
¶
Index ¶
- type Mux
- func (m *Mux) Add(key agent.AddedKey) error
- func (m *Mux) List() ([]*agent.Key, error)
- func (m *Mux) Lock(passphrase []byte) error
- func (m *Mux) Remove(key ssh.PublicKey) error
- func (m *Mux) RemoveAll() error
- func (m *Mux) Sign(key ssh.PublicKey, data []byte) (*ssh.Signature, error)
- func (m *Mux) Signers() ([]ssh.Signer, error)
- func (m *Mux) Unlock(passphrase []byte) error
- type Request
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Mux ¶
type Mux struct {
// contains filtered or unexported fields
}
Mux implements the ssh agent.Agent interface, combining several Agents into one.
func (*Mux) Lock ¶
Lock locks the agent. Sign and Remove will fail, and List will empty an empty list. (Unsupported.)
Click to show internal directories.
Click to hide internal directories.