Secured Gobby Is the Best of the Best !!
No Third-Parties ! No Apple, Google, Microsoft, ... on board using up the web and spying on your documents !
Gobby over Putty is a good solution.
You can run headless a server for realtime collaborative multi-edit/multiuser with this following method.
There is a as well a chat option.
The editor Gobby has numerous features ; C, C++, Latex,... and even FORTRAN syntax are there for you !
Section #1 - Requirements & Service Installation -
- Machine Server #1: SSH Service (1) Gate:
You have a gate with SSH.
IP of #1: IP with given port over the web (gate, $serverip)
- Machine Server #2: Gobby server Service (2) Collaborative:
Code:
[infinoted]
security-policy=require-tls
key-file=/home/infinoted/keys/infinoted.key
certificate-file=/home/infinoted/keys/infinoted.cert
root-directory=/home/infinoted/data
plugins=note-text;autosave
[autosave]
interval=20
IP of #2: IP with port 6523 of Gobby. (Collaborative service, $IP_GOBBY)
(here in this example: 192.168.10.150)
Compile and run the service at boot of BSD.
Section #2 - Methodology of Use -
1: ssh server with given ip $serverip
2: In Windows, starts putty
putty:
go into tunnel of putty.
source port: 6523
target : 192.168.10.150:6523
click on ADD
View attachment 4853
place into putty the ip of server and port.
RUN and login distant!
3: Once logged, after key ssh, login/pass, your are ready with your tunnel:
start gobby vers. 0.50. at least, since it is more compatible. Older versions had issue of compatibnitlity.
https://github.com/gobby/gobby/wiki/Download
http://releases.0x539.de/gobby/gobby-stable.exe
View attachment 4851
and enter distant connection: localhost:6523
the localhost is not local, but you will connect over ssh over the tunnel you created i.e. local 6523 | Wall of Fire | => | www | => | Wall of Fire (X) | => ssh Port: X => 192.168.10.150:6523
View attachment 4855
4: Mission Completed, just collaborate on same document.
View attachment 4854
(
admin: how to export this post i.e BBCODE + PNG to Zip File, in order to make an HowTo?)
Section #3 - (Less) Secured Viewer, any time and any where (Ebook,... over wifi).
1: If you aren't much worried, highly secured behind the wall of fire, you may run sshfs and apache2 to view it (over fuse).
Code:
sshfs -o allow_other,uid=1000,gid=1000 192.168.10.150:/home/infinoted /var/html/www/mycollaborative
Then on your ebook, tablet,... you can view over the html web server the edited files, refreshed every 20 seconds.
There is a possible viewer: collabeditviewer.php
Code:
<!DOCTYPE HTML>
<html>
<head>
<title>PHP File Reader</title>
</head>
<body>
<hr>
<h1> Basic PHP File Reader of Collaborative Document </h1>
<hr>
<?php
$myfile = "mycollabeditweb/infinoted/data/mytest/Test-Notepad.InfText";
$file = fopen( $myfile , "r");
while(! feof($file))
{
$line = fgets($file);
echo $line . "<br>";
}
fclose($file);
?>
<br/><br/>
</body>
</html>
Make sure to sshfs on a highly secured page / networking firewall, because high power is there (apache2).
Have Fun !!