GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - shellhub-io/ssh: Easy SSH servers in Golang

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

255 Commits
255 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
_examples
_examples
 
 
.golangci.yml
.golangci.yml
 
 
.goreleaser.yml
.goreleaser.yml
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
Taskfile.yaml
Taskfile.yaml
 
 
agent.go
agent.go
 
 
channelreject_test.go
channelreject_test.go
 
 
conn.go
conn.go
 
 
context.go
context.go
 
 
context_test.go
context_test.go
 
 
cross_account_test.go
cross_account_test.go
 
 
doc.go
doc.go
 
 
example_test.go
example_test.go
 
 
go.mod
go.mod
 
 
go.sum
go.sum
 
 
misc_easy_test.go
misc_easy_test.go
 
 
options.go
options.go
 
 
options_easy_test.go
options_easy_test.go
 
 
options_test.go
options_test.go
 
 
pty.go
pty.go
 
 
pty_other.go
pty_other.go
 
 
pty_test.go
pty_test.go
 
 
pty_unix.go
pty_unix.go
 
 
pty_windows.go
pty_windows.go
 
 
ptyalloc_test.go
ptyalloc_test.go
 
 
ptydrain_test.go
ptydrain_test.go
 
 
ptyexit_test.go
ptyexit_test.go
 
 
ptyfailure_test.go
ptyfailure_test.go
 
 
ptyowner_test.go
ptyowner_test.go
 
 
ptysize_test.go
ptysize_test.go
 
 
ptytranslate_test.go
ptytranslate_test.go
 
 
ptyzero_test.go
ptyzero_test.go
 
 
recover_test.go
recover_test.go
 
 
server.go
server.go
 
 
server_test.go
server_test.go
 
 
serverconfig_test.go
serverconfig_test.go
 
 
session.go
session.go
 
 
session_accessors_test.go
session_accessors_test.go
 
 
session_test.go
session_test.go
 
 
ssh.go
ssh.go
 
 
ssh_test.go
ssh_test.go
 
 
tcpip.go
tcpip.go
 
 
tcpip_test.go
tcpip_test.go
 
 
util.go
util.go
 
 
util_test.go
util_test.go
 
 
winch_test.go
winch_test.go
 
 
wrap.go
wrap.go
 
 

Repository files navigation

ssh

Latest Release GoDoc Build Status Codecov branch

An SSH server library for Go. ssh wraps the lower-level x/crypto/ssh package with a higher-level API that feels like net/http:

package main

import (
	"io"
	"log"

	"charm.land/ssh"
)

func main() {
	ssh.Handle(func(s ssh.Session) {
		io.WriteString(s, "Hello world\n")
	})

	log.Fatal(ssh.ListenAndServe(":2222", nil))
}

Features

  • Familiar, net/http-inspired API
  • Handlers for sessions, channels, port forwarding, and more
  • Public key, password, and keyboard-interactive auth
  • PTY support across platforms
  • Used in production by Soft Serve and Wish

Examples

A bunch of great examples are in the _examples directory.

Usage

See the GoDoc reference.

Feedback

We’d love to hear your thoughts on this project. Feel free to drop us a note!

  • Twitter
  • The Fediverse
  • Discord

Acknowledgements

This package was originally forked from gliderlabs/ssh

License

MIT


Part of Charm.

The Charm logo

Charm热爱开源 • Charm loves open source

About

Easy SSH servers in Golang

godoc.org/github.com/gliderlabs/ssh

Resources

Readme
License
Activity
Custom properties

Stars

0 stars

Watchers

0 watching

Forks

1 fork
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.