Just for future reference, here are the steps for pairing with wemux:
On host:
- Install wemux
- Create a new user on the OS, called 'pair'
- Add client's SSH public key to ~/.ssh/authorized_keys of 'pair' user we just created. Make sure sshd is running
- Log out of pair user, run
wemux start
as normal user.
On client:
- Run
ssh pair@<ip_of_host_on_lan>
(Use hamachi if doing this remotely) - Once logged in as 'pair' user, run
wemux attach
Protip:
To logout attached clients after pairing, on the host:
- Run
ps aux | egrep "sshd: [a-zA-Z]+@"
to see the list of ssh'ed users. - Run
kill -9 <pid_of_sshd>
to kill ssh session. Getpid_of_sshd
from step 1.