sshlib

package
v0.0.0-...-647cc36 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 10, 2017 License: MPL-2.0 Imports: 3 Imported by: 0

Documentation

Overview

The package "sshlib" is a simple library that makes it easier to work with the "golang.org/x/crypto/ssh"-package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Handle

func Handle(nc net.Conn, sc chan *ShellSession, S *ssh.ServerConfig)

Handles the SSH protocol and feeds the shell-sessions to sc.

Types

type ShellSession

type ShellSession struct {
	Ch         ssh.Channel
	Permission *ssh.Permissions
	Term       string
	Width      int
	Heigth     int
	// emits a value, if with or height changes.
	ChSize <-chan int
	// contains filtered or unexported fields
}

A shell session.

Directories

Path Synopsis
This package implements the session handling on unix machines.
This package implements the session handling on unix machines.
This package implements the session handling (experimental) on windows machines.
This package implements the session handling (experimental) on windows machines.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL