Chat for Two:
Features: Minimalistic, Colored, Extensible ;-)
Both have to have ssh access to a ssh server.
Setup:
$ ssh user@server
# mkfifo Ain
# mkfifo Aout
A does:
ssh user@server ‘cat Ain|while read line; do echo -e “\x1B[00;34m$line\x1B[00m”; done & cat > Aout’
B does:
ssh user@server ‘cat Aout|while read line; do echo -e “\x1B[00;34m$line\x1B[00m”; done & cat > Ain’
Also possible with putty…
Tip: For giving someone else access to your account, you should grant him/her by his/her certificate, instead of giving away your password.
Tip: If you two have both different accounts, you can chmod the fifos to share them.
Recent Comments