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 15:00] 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 ====+==== FTP / FTPS-Netzlaufwerk in /etc/fstab ====
 <code> <code>
 root> vi /etc/fstab root> vi /etc/fstab
  
-# sftp mount speedport +# 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+curlftpfs#<IP-ftp-server>  <mount-point>  fuse    rw,uid=1000,umask=0777,user,suid,allow_other,exec,auto,_netdev,utf8,tlsv1             1
 </code> </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 Zugangsdaten in /root/.netrc
 <code> <code>
Line 37: Line 46:
 login Benutzername login Benutzername
 password Passwort password Passwort
 +
 +root> chmod 600 /root/.netrc
 </code> </code>
 fuse.conf anpassen (uncomment user_allow_other): fuse.conf anpassen (uncomment user_allow_other):
Line 44: Line 55:
 user_allow_other user_allow_other
 </code> </code>
 +
linux/mount/ftp.1602421226.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