百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
S

ssh

> 包管理
开源

Golang 中的易用 SSH 服务器

4.2K stars0 点赞3 次浏览
访问官网GitHub

工具介绍

Golang 中的易用 SSH 服务器

gliderlabs/ssh > Glider Labs SSH 服务器包非常棒。 —@bradfitz, Go 团队成员 此 Go 包包装了 crypto/ssh 包, 提供了更高级别的 API 用于构建 SSH 服务器。 API 的目标是使其与使用 net/http 相同简单, 因此 API 非常相似: ```go

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· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Gogolanggolang-packagesshssh-server

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类包管理
定价开源

> 相关工具

N
npm
Node.js 默认包管理器
P
pnpm
高效节省磁盘的 Node 包管理器
I
is-gif
Check if a Buffer/Uint8Array is a GIF image