/mayonnaise

Using websockets to pass linux commands between a server and a client

Primary LanguageGo

Mayonaise

UML

Using websockets to pass linux commands between a server and a client

  • Using websockets to open a shell instead of using ssh

  • The client sends unix commands via the sockets and the server runs the commands via os.Exec. The stdout is returned to the clinet and print as stdout

  • The server should input the commands to be run in multiple clients. Follow a master -> slave relationship where the slave returns the output of the command sent by the master

  • Read commands from stdinput in master and broadcast commands to slaves