Source File
wrap.go
Belonging Package
github.com/gliderlabs/ssh
package sshimport gossh// PublicKey is an abstraction of different types of public keys.type PublicKey interface {gossh.PublicKey}// The Permissions type holds fine-grained permissions that are specific to a// user or a specific authentication method for a user. Permissions, except for// "source-address", must be enforced in the server application layer, after// successful authentication.type Permissions struct {*gossh.Permissions}// A Signer can create signatures that verify against a public key.type Signer interface {gossh.Signer}// ParseAuthorizedKey parses a public key from an authorized_keys file used in// OpenSSH according to the sshd(8) manual page.func ( []byte) ( PublicKey, string, []string, []byte, error) {return gossh.ParseAuthorizedKey()}// ParsePublicKey parses an SSH public key formatted for use in// the SSH wire protocol according to RFC 4253, section 6.6.func ( []byte) ( PublicKey, error) {return gossh.ParsePublicKey()}
![]() |
The pages are generated with Golds v0.8.2. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |