Quick and easy terminal sharing for getting quick help or pair sysadmin'ing.
Share interactive control with a copilot and/or a readonly view of your terminal with others. Copilots and viewers can use the client or a web-based terminal.
For the original version please go to https://github.com/progrium/termshare
For Linux and OSX:
curl -L https://github.com/lalyos/termshare/releases/download/v0.3.0/termshare_v0.3.0_$(uname -s)_x86_64.tgz| tar -xz -C /usr/local/bin
The original server has expired ssl certs. So I did created an unsecure server, which works, but be avare of man in the middle attacks, so dont share any sensitive data on that channel:
termshare -n -s=termshare.sequenceiq.com:9999
Lately i faced this issue:
panic: Post https://termsha.re:443/c4a9d55c-8038-4622-6fb5-a66105f61a36: x509: certificate signed by unknown authority
But a simple recompile solved my problem ...
I spent almost a day to figure out, but still couldn't find out the root cause.
termsha.re is using HTTPS. Its certificate is signed with this chain:
Looks like golang is having problem to accept it. Golfing itself doesn't have any cert storage its using
it from the OS. In https://golang.org/src/crypto/x509/root_darwin.go you can see the source is: /System/Library/Keychains/SystemRootCertificates.keychain
So it seems like my OS X keychain's ca cert list is missing something. But:
termshare shows unknown authority.termshare connects fine.Further mystery:
termshare works finetermshare complains about certificate signed by unknown authoritydocker pull lalyos/termshare:latest