Documentation ¶
Index ¶
- Constants
- func NewClient(user, address string, privateKey []byte) (*client, error)
- func NewServer(b backend.Backend, c crypto.Crypter, hostKey ssh.Signer) *server
- func NotAnAuthority(auth ssh.PublicKey) bool
- func SerializeKey(key ssh.PublicKey) string
- func UnpackMessage(message []byte) ([]string, error)
- type Client
- type Server
- type ServerError
Constants ¶
View Source
const ( WriterUser = `w` ReaderUser = `r` )
Variables ¶
This section is empty.
Functions ¶
func NotAnAuthority ¶
NotAuthority is intended to be used in conjunction with an SSH CertChecker in order to indicate that we are not accepting any certificate as an authority.
func SerializeKey ¶
func UnpackMessage ¶
Types ¶
type ServerError ¶
type ServerError struct {
Err string
}
func (ServerError) Error ¶
func (e ServerError) Error() string
Click to show internal directories.
Click to hide internal directories.