Secured Server for Collaborative Word/Text-editor ?

Spartrekus

Daemon

Reaction score: 153
Messages: 1,150

Hello,

Would you eventually a service that would allow the Collaborative Word/Text-editor ? Example of secured server: Gobby, Libreoffice collaborative,...
The server has SSH (ideal for SFTP) which allowed "Secured".

Looking forward to reading your possible ideas.

Many thanks in advance
 
OP
OP
Spartrekus

Spartrekus

Daemon

Reaction score: 153
Messages: 1,150

Nextcloud + Colabora = Libreoffice in the Browser.

Here You have the Nextcloud part:
https://vermaden.wordpress.com/2018/04/04/nextcloud-13-on-freebsd/
thank you. browser is slow.
third parties have to be avoided in all cases.

infininoted might be good, in direction of gobby
I like infinoted for gobby, it might be easy to run over ssh + windows.

What about to connect over SSH from Putty. Once in, how can the user start gobby over this connect to a machine within the intranet (given IP number)?
how to redirect via putty on windows for gobby to work over ssh connection? (the gobby infinoted is at 192.168.10.150).

a notedpad editor for ncurses for gobby servers (infinoted at 192.168.10.150)?

putty.png
 
Last edited:
OP
OP
Spartrekus

Spartrekus

Daemon

Reaction score: 153
Messages: 1,150

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.
Code:
 pkg install 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

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

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
4855




4: Mission Completed, just collaborate on same document.
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:
pkg install apache2
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>
Run a server behind a NAT Router (to protect from Internet).
Login with SSH on given port and establish a tunnel.
With the tunnel access, you can then see the port of the running gobby server. This is the key of everything.

Make sure to sshfs on a highly secured page / networking firewall, because high power is there (apache2).

Have Fun !!
 

Attachments

Last edited:

atomtm

New Member


Messages: 1

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.
Code:
 pkg install 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:
pkg install apache2
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 !!
Is gobby only for private networks ? If not how do you configure client and server machine to connect through internet?

Thank you in advance
 
OP
OP
Spartrekus

Spartrekus

Daemon

Reaction score: 153
Messages: 1,150

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.
Code:
 pkg install 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:
pkg install apache2
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 !!
Man, I didn't remember this post. This was actually a cool post from me. Ideally documented to let a client/server for gobby.

But what about HERMES, just go for terminal, because you can run it fast, and all over any continents.


If you are willing to learn C programming, here a nice example to make your own, using sockets, to make client/server text editor.
 
Top