Skip to content

Mosh wrapper with single jump server capabilities

License

Notifications You must be signed in to change notification settings

masaki-furuta/mosh-with-jump

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

mosh-with-jump

Summary

mosh-with-jump is a Mosh wrapper that supports a single jump/proxy server like ssh -J $jump_server. It does so by starting mosh-server on the target server via the jump server and then proxying UDP packets through the proxy server.

Examples

Using a jump server

./mosh-with-jump -J $jump_server $destination

With ports specified (for the target server)

./mosh-with-jump -p 61000:61100 -J $jump_server $destination

Using no jump server (just calls mosh)

./mosh-with-jump $destination

Requirements

mosh-with-jump was written with some portability in mind and uses some fairly common Unix utilities. All machines involved must have SSH. Only the client and target machines need to have Mosh. The proxy server uses socat to proxy and ss to query for in-use ports.

About

Mosh wrapper with single jump server capabilities

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%