Golang 中的易用 SSH 服务器
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))
}
欢迎提交 Pull Request! 但是,由于这个项目主要是关于 API 设计,因此请在提交 Pull Request 之前将 API 更改提交为问题进行讨论。
[See GoDoc reference.](https://godoc.org/github.com/gliderlabs/ssh)
<a href="https://opencollective.com/ssh/sponsor/0/website" target="_blank"></a>
<a href="https://opencollective.com/ssh/sponsor/1/website" target="_blank"></a>
<a href="https://opencollective.com/ssh/sponsor/2/website" target="_blank"></a>
<a href="https://opencollective.com/ssh/sponsor/3/website" target="_blank"></a>
<a href="https://opencollective.com/ssh/sponsor/4/website" target="_blank"></a>
<a href="https://opencollective.com/ssh/sponsor/5/website" target="_blank"></a>
<a href="https://opencollective.com/ssh/sponsor/6/website" target="_blank"></a>暂无开放 Issues,或尚未同步最近议题。