User Tools

Site Tools


raspi_fuer_kameras_installieren

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Next revisionBoth sides next revision
raspi_fuer_kameras_installieren [2022/01/08 19:33] – created adminraspi_fuer_kameras_installieren [2022/01/08 20:35] admin
Line 6: Line 6:
  
 <code>tmpfs /var/log tmpfs defaults,noatime,nosuid,mode=0755,size=25M 0 0</code> <code>tmpfs /var/log tmpfs defaults,noatime,nosuid,mode=0755,size=25M 0 0</code>
 +
 +Für Fernzugriff autossh installieren und Reverse SSH Tunnel einrichten
 +
 +<code>apt install autossh</code>
 +
 +Dann SSH Key Paar generieren
 +
 +<code>ssh-keygen -t rsa -b 4096</code>
 +
 +SSH Key auf Server kopieren
 +
 +<code>ssh-copy-id -i .ssh/id_rsa.pub pi@server</code>
 +
 +Dann mit <code>crontab -e</code> den autossh Tunnel als Cronjob bei reboot einfügen.
 +
 +<code>@reboot autossh -fN -R 2222:localhost:22 pi@server</code>
 +
 +ProFTPd installieren
 +
 +<code>apt install proftpd-basic</code>
 +
 +Dann in /etc/proftpd/conf.d/proftpd-custom.conf folgenden Inhalt hinterlegen
 +
 +<code>
 +# Ftp user doesn't need a valid shell
 +<Global>
 +    RequireValidShell off
 +</Global>
 + 
 +# Default directory is ftpusers home
 +DefaultRoot /media/usb
 +
 +# Limit login to the ftpuser group
 +<Limit LOGIN>
 +    DenyGroup !ftpuser
 +</Limit>
 +</code>
 + 
 +
raspi_fuer_kameras_installieren.txt · Last modified: 2022/01/08 23:13 by admin

Except where otherwise noted, content on this wiki is licensed under the following license: CC0 1.0 Universal
CC0 1.0 Universal Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki