gliderlabs/ssh
Fork: 452 Star: 3713 (更新于 2024-11-15 11:55:42)
license: BSD-3-Clause
Language: Go .
Easy SSH servers in Golang
最后发布版本: v0.3.7 ( 2024-03-19 06:19:18)
gliderlabs/ssh
The Glider Labs SSH server package is dope. —@bradfitz, Go team member
This Go package wraps the crypto/ssh package with a higher-level API for building SSH servers. The goal of the API was to make it as simple as using net/http, so the API is very similar:
package main
import (
"github.com/gliderlabs/ssh"
"io"
"log"
)
func main() {
ssh.Handle(func(s ssh.Session) {
io.WriteString(s, "Hello world\n")
})
log.Fatal(ssh.ListenAndServe(":2222", nil))
}
This package was built by @progrium after working on nearly a dozen projects at Glider Labs using SSH and collaborating with @shazow (known for ssh-chat).
Examples
A bunch of great examples are in the _examples
directory.
Usage
Contributing
Pull requests are welcome! However, since this project is very much about API design, please submit API changes as issues to discuss before submitting PRs.
Also, you can join our Slack to discuss as well.
Roadmap
- Non-session channel handlers
- Cleanup callback API
- 1.0 release
- High-level client?
Sponsors
Become a sponsor and get your logo on our README on Github with a link to your site. [Become a sponsor]
License
最近版本更新:(数据更新于 2024-08-29 13:44:18)
2024-03-19 06:19:18 v0.3.7
2019-06-20 11:23:06 v0.2.2
2019-06-20 02:02:07 v0.2.1
2019-06-19 16:39:44 v0.1.4
2019-06-19 16:39:14 v0.2.0
2019-02-22 06:46:10 v0.1.3
2019-02-21 02:44:26 v0.1.2
2018-06-02 03:01:50 v0.1.1
2017-02-15 07:00:25 v0.1.0
主题(topics):
golang, golang-package, ssh, ssh-server
gliderlabs/ssh同语言 Go最近更新仓库
2024-11-22 20:14:47 daytonaio/daytona
2024-11-21 22:49:20 containerd/containerd
2024-11-21 13:50:50 XTLS/Xray-core
2024-11-21 07:36:18 kubernetes/kubernetes
2024-11-21 06:27:30 ollama/ollama
2024-11-21 05:17:55 Melkeydev/go-blueprint