- Notifications
You must be signed in to change notification settings - Fork478
gliderlabs/ssh
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
The Glider Labs SSH server package is dope. —@bradfitz, Go team member
This Go package wraps thecrypto/sshpackage with a higher-level API forbuilding SSH servers. The goal of the API was to make it as simple as usingnet/http, so the API is very similar:
package mainimport ("github.com/gliderlabs/ssh""io""log" )funcmain() {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 forssh-chat).
A bunch of great examples are in the_examples directory.
Pull requests are welcome! However, since this project is very much about APIdesign, please submit API changes as issues to discuss before submitting PRs.
Also, you canjoin our Slack to discuss as well.
- Non-session channel handlers
- Cleanup callback API
- 1.0 release
- High-level client?
Become a sponsor and get your logo on our README on Github with a link to your site. [Become a sponsor]
About
Easy SSH servers in Golang
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.