Skip to content
/ bao Public

simple and safe ui-enabled ssh port forward tool

License

Notifications You must be signed in to change notification settings

pldubouilh/bao

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bao

bao

bao is a KISS ssh tunnel built in go

features

  • simple systray tool to connect connect to the remote machine
  • secure ; default ed25519 ssh crypto keys, and server key pinning
  • a simple run-once server script to spin new SSH users with no other rights than port-forwarding

why ?

bao makes it simple to share a part of a host you run somewhere for others to use. It was initially designed to provide transport for gossa, but it can also serve for other purposes.

server config

Just run the newUser.sh script to spin a new user on your server with only access to the ports you specify. The generated config will be at ./bao.conf

$ sudo bash newUser.sh self-hosted-service 8000 1234
all done!

client setup

Either download release for linux or mac. Once started, bao will look for a config files in ~/.ssh/bao/, or $PWD (on the mac release it's bao.app/Contents/MacOS/).

client build

dep ensure
go build main.go

note linux : linux build would need libgtk-3-dev and libappindicator3-dev

note mac: mac build should be executed from a mac. The built blob should be copied into the .app skeleton in builds/bao.app/Contents/MacOS/bao