User Tools

Site Tools


linux:mount:ftp

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
linux:mount:ftp [2020/10/11 14:52] mslinux:mount:ftp [2023/01/11 20:29] (current) – external edit 127.0.0.1
Line 13: Line 13:
 apt-get install ftp curlftpfs openssh-client apt-get install ftp curlftpfs openssh-client
 </code> </code>
-==== FTP/FTPS-Netzlaufwerk mounten ====+==== FTP / FTPS-Netzlaufwerk mounten ====
 <code> <code>
 root> curlftpfs Benutzername:Passwort@<IP-ftp-server> <mount-point> -o <options> root> curlftpfs Benutzername:Passwort@<IP-ftp-server> <mount-point> -o <options>
Line 19: Line 19:
 root> curlftpfs Benutzername:Passwort@<IP-ftp-server> <mount-point> -o allow_other,disable_eprt,tlsv1    # FTPS mount root> curlftpfs Benutzername:Passwort@<IP-ftp-server> <mount-point> -o allow_other,disable_eprt,tlsv1    # FTPS mount
 </code> </code>
-==== FTP/FTPS-Netzlaufwerk un-mounten ====+==== FTP / FTPS-Netzlaufwerk un-mounten ====
 <code> <code>
 fusermount -u <mount-point> fusermount -u <mount-point>
 </code> </code>
 +==== FTP / FTPS-Netzlaufwerk in /etc/fstab ====
 +<code>
 +root> vi /etc/fstab
 +
 +# sftp mount speedport manuell:
 +curlftpfs#<IP-ftp-server>  <mount-point>  fuse    rw,uid=1000,umask=0777,user,suid,allow_other,exec,auto,_netdev,utf8,tlsv1             1
 +</code>
 +Oder als auto-mount mit systemd
 +<code>
 +root> vi /etc/fstab
 +
 +# sftp mount speedport auto-mount mit systemd:
 +curlftpfs#<IP-ftp-server>  <mount-point>  fuse    rw,uid=1000,umask=0777,user,suid,allow_other,exec,_netdev,utf8,tlsv1,x-systemd.automount,x-systemd.idle-timeout=60      0       0
 +</code>
 +Bei Zugriff auf <mount-point> mountet systemd, bei 60s inaktivität wird das Verzeichnis abgehängt.
 +
 +Zugangsdaten in /root/.netrc
 +<code>
 +root> vi /root/.netrc
 +
 +machine <IP-ftp-server>
 +login Benutzername
 +password Passwort
 +
 +root> chmod 600 /root/.netrc
 +</code>
 +fuse.conf anpassen (uncomment user_allow_other):
 +<code>
 +root> vi /etc/fuse.conf
 +
 +user_allow_other
 +</code>
 +
linux/mount/ftp.1602420769.txt.gz · Last modified: 2023/01/11 20:30 (external edit)

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