Skip to content

Commit

Permalink
Switch to modules and flatten repository
Browse files Browse the repository at this point in the history
  • Loading branch information
FiloSottile committed Sep 12, 2018
1 parent 6450226 commit dbb65de
Show file tree
Hide file tree
Showing 222 changed files with 610 additions and 21,249 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ This is a pretty vanilla `golang.org/x/crypto/ssh` Go server that will advertise

Then it just lets you open a shell+PTY, uses the public keys and Ben's database to find your username, asks the GitHub API your real name, prints all that and close the terminal.

All the interesting bits are in [server.go](https://github.com/FiloSottile/whosthere/blob/master/src/ssherver/server.go).
All the interesting bits are in [server.go](https://github.com/FiloSottile/whosthere/blob/master/server.go).

## How do I stop it?

Expand Down
File renamed without changes.
11 changes: 11 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
module github.com/FiloSottile/whosthere

require (
github.com/go-sql-driver/mysql v0.0.0-20150620200312-fb7299726d2e
github.com/google/go-github v0.0.0-20150803190236-800345634bec
github.com/google/go-querystring v0.0.0-20150414214848-547ef5ac9797 // indirect
github.com/kr/pretty v0.1.0 // indirect
golang.org/x/crypto v0.0.0-20150802235345-77de70a8d459
gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 // indirect
gopkg.in/yaml.v2 v2.0.0-20150624102902-7ad95dd0798a
)
17 changes: 17 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
github.com/go-sql-driver/mysql v0.0.0-20150620200312-fb7299726d2e h1:/Aw3AAzugjLcokR1PbY1NQGhQCvwoykT3do04RfbXS8=
github.com/go-sql-driver/mysql v0.0.0-20150620200312-fb7299726d2e/go.mod h1:zAC/RDZ24gD3HViQzih4MyKcchzm+sOG5ZlKdlhCg5w=
github.com/google/go-github v0.0.0-20150803190236-800345634bec h1:2jSIyK/qoro2rnd3/qbfYyf9uscx+6ex7H0tDRLLWnI=
github.com/google/go-github v0.0.0-20150803190236-800345634bec/go.mod h1:zLgOLi98H3fifZn+44m+umXrS52loVEgC2AApnigrVQ=
github.com/google/go-querystring v0.0.0-20150414214848-547ef5ac9797 h1:XScp/7K55BJWgFeKalWP/2XvaRdhhhNJBOSQuFMS8mE=
github.com/google/go-querystring v0.0.0-20150414214848-547ef5ac9797/go.mod h1:odCYkC5MyYFN7vkCjXpyrEuKhc/BUO6wN/zVPAxq5ck=
github.com/kr/pretty v0.1.0 h1:L/CwN0zerZDmRFUapSPitk6f+Q3+0za1rQkzVuMiMFI=
github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo=
github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ=
github.com/kr/text v0.1.0 h1:45sCR5RtlFHMR4UwH9sdQ5TC8v0qDQCHnXt+kaKSTVE=
github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI=
golang.org/x/crypto v0.0.0-20150802235345-77de70a8d459 h1:zz9Z2keDx2iJauLQzE4PQ+9/GmQ5rYdUDNB1azXDtnE=
golang.org/x/crypto v0.0.0-20150802235345-77de70a8d459/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4=
gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 h1:qIbj1fsPNlZgppZ+VLlY7N33q108Sa+fhmuc+sWQYwY=
gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/yaml.v2 v2.0.0-20150624102902-7ad95dd0798a h1:g+5jhv1DHNJos7kIS4sEd8+jAKSH9pP8AZynd85XdlI=
gopkg.in/yaml.v2 v2.0.0-20150624102902-7ad95dd0798a/go.mod h1:JAlM8MvJe8wmxCU4Bli9HhUf9+ttbYbLASfIpnQbh74=
File renamed without changes.
File renamed without changes.
8 changes: 8 additions & 0 deletions vendor/github.com/go-sql-driver/mysql/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions vendor/github.com/go-sql-driver/mysql/.travis.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

58 changes: 58 additions & 0 deletions vendor/github.com/google/go-github/AUTHORS

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

72 changes: 72 additions & 0 deletions vendor/github.com/google/go-github/CONTRIBUTORS

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit dbb65de

Please sign in to comment.