Implement command-based echo app and HTTP handler
This commit is contained in:
parent
07036afafa
commit
b6b58fe2b3
6 changed files with 190 additions and 7 deletions
7
ssh_app.go
Normal file
7
ssh_app.go
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
package ussher
|
||||
|
||||
import "golang.org/x/crypto/ssh"
|
||||
|
||||
type SSHApp interface {
|
||||
HandleExec(conn *ssh.ServerConn, channel ssh.Channel)
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue