diff options
author | Emile <hanemile@protonmail.com> | 2020-01-27 20:27:49 +0100 |
---|---|---|
committer | Emile <hanemile@protonmail.com> | 2020-01-27 20:27:49 +0100 |
commit | c5651a2da6dd9f85f37f74fcc756285bf8998eaa (patch) | |
tree | 0e02fe3b9e3ed67e7f997da6bcd9f8fe58d5a050 /src/ssh.go | |
parent | b054ce6b3f6856ca7916fc4e1d79d3be16441927 (diff) |
fmt / imports
Diffstat (limited to 'src/ssh.go')
-rw-r--r-- | src/ssh.go | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/src/ssh.go b/src/ssh.go index fbbfc9c..71dc12a 100644 --- a/src/ssh.go +++ b/src/ssh.go @@ -1,5 +1,16 @@ package main +import ( + "encoding/json" + "fmt" + "io/ioutil" + "log" + "net/http" + "strings" + + "github.com/gliderlabs/ssh" +) + // Handling incoming SSH connections func handlePass(ctx ssh.Context, pass string) bool { @@ -60,4 +71,4 @@ func handlePass(ctx ssh.Context, pass string) bool { } return false -} \ No newline at end of file +} |