Skip to content

A simple library for exposing a REPL over SSH or locally

License

Notifications You must be signed in to change notification settings

heptio/ssh-expose

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ssh-expose

GoDoc

A simple package that makes it easy to write a interactive command line program that can be used locally or served over SSH.

Example

See the example directory for an .... example.

cd example
# Local mode
go run *.go

# SSH Mode
ssh-keygen -t rsa -f example_host_key_rsa
go run *.go -serve-ssh=localhost:2222
# Run 'ssh localhost -p 2222' on another terminal

TODO

  • Support authentication to sshd
  • Rate limiting and limite the num of connections
  • readline type stuff with tab completion, etc

About

A simple library for exposing a REPL over SSH or locally

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages