Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetPublicKeyCallback ¶
func GetPublicKeyCallback( orgWideCACertificate ssh.PublicKey, border0ApiClient border0.Border0API, socket *models.Socket, e2eeMetadata *border0.E2EEncryptionMetadata, checkAllowedUsernames bool, ) func(ssh.ConnMetadata, ssh.PublicKey) (*ssh.Permissions, error)
GetPublicKeyCallback returns a function to be provided as the PublicKeyCallback field of an ssh.ServerConfig object. This function is invoked by the ssh server in order to verify, among other things, that the certificate being provided by a given ssh client is issued by the correct organization-wide certificate authority.
Types ¶
type Recording ¶
type Recording struct {
// contains filtered or unexported fields
}
func NewRecording ¶
func NewRecording(logger *zap.Logger, reader io.ReadCloser, socketID, sessionKey string, api border0.Border0API, width, height int) *Recording
Click to show internal directories.
Click to hide internal directories.