Benutzer-Werkzeuge

Webseiten-Werkzeuge


sshfs

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen RevisionVorhergehende Überarbeitung
Nächste Überarbeitung
Vorhergehende Überarbeitung
sshfs [2024-03-29 22:54:44] – [Linux (Ubuntu)] manfredsshfs [2024-07-07 17:28:32] (aktuell) – [AutoFS / AutoMount] manfred
Zeile 1: Zeile 1:
 ====== sshfs ====== ====== sshfs ======
 +
 +  * [[::SSH / SSL]]
 +  * [[::SSH-Schlüssel austauschen für ein passwortlosen Login]]
 +    * ''ssh-keygen -t ed25519 -a 1024''
  
 [[http://stefankonarski.de/content/verschluesseltes-netzwerkdateisystem-sshfs-unter-freebsd]] [[http://stefankonarski.de/content/verschluesseltes-netzwerkdateisystem-sshfs-unter-freebsd]]
Zeile 53: Zeile 57:
 ==== AutoFS / AutoMount ==== ==== AutoFS / AutoMount ====
  
-  # apt install sshfs+  root@debian:~# apt install autofs sshfs 
 +  root@debian:~# useradd -m mm 
 +  root@debian:~# id mm 
 +  uid=1001(mm) gid=1001(mm) groups=1001(mm) 
 +   
 +  root@debian:~# su - mm 
 +  mm@debian:~$ ssh-keygen -t ed25519 -a 1024 
 +  mm@debian:~$ cat ~/.ssh/id_ed25519.pub 
 + 
 +//Dieser PUB-Key muß unter mm@192.168.0.1 abgelegt werden!// 
 + 
 +  mm@192.168.0.1:~$ vim /home/mm/.ssh/authorized_keys
  
-<file bash /etc/auto.master>+<file bash root@debian:/etc/auto.master>
 ... ...
  
Zeile 61: Zeile 76:
 </file> </file>
  
-<file bash /etc/auto.sshfs>+<file bash root@debian:/etc/auto.sshfs>
 # SSHFS # SSHFS
-Audio -fstype=fuse,ro,allow_other,noatime,follow_symlinks,idmap=user,auto_cache,reconnect,ServerAliveInterval=15,Ciphers=aes128-ctr,Compression=no,IdentityFile=/home/mm/.ssh/id_ed25519 :sshfs\#mm@192.168.0.1\:/Audio +Audio -fstype=fuse.sshfs,ro,allow_other,noatime,follow_symlinks,idmap=user,auto_cache,reconnect,ServerAliveInterval=15,Ciphers=aes128-ctr,Compression=no,IdentityFile=/home/mm/.ssh/id_ed25519 :sshfs\#mm@192.168.0.1\:/Audio 
-Video -fstype=fuse,ro,allow_other,noatime,follow_symlinks,idmap=user,auto_cache,reconnect,ServerAliveInterval=15,Ciphers=aes128-ctr,Compression=no,IdentityFile=/home/mm/.ssh/id_ed25519 :sshfs\#mm@192.168.0.1\:/Video+Video -fstype=fuse.sshfs,ro,allow_other,noatime,follow_symlinks,idmap=user,auto_cache,reconnect,ServerAliveInterval=15,Ciphers=aes128-ctr,Compression=no,IdentityFile=/home/mm/.ssh/id_ed25519 :sshfs\#mm@192.168.0.1\:/Video
 </file> </file>
  
-  # service autofs restart +  root@debian:~# service autofs restart 
-  # ls -lha /mm/+  root@debian:~# ls -lha /mm/
   total 4.0K   total 4.0K
   drwxr-xr-x  4 root root    0 Mar 29 23:52 .   drwxr-xr-x  4 root root    0 Mar 29 23:52 .
Zeile 74: Zeile 89:
   drwxr-xr-x  2 root root    0 Mar 29 23:52 Audio   drwxr-xr-x  2 root root    0 Mar 29 23:52 Audio
   drwxr-xr-x  2 root root    0 Mar 29 23:52 Video   drwxr-xr-x  2 root root    0 Mar 29 23:52 Video
 +  
 +  root@debian:~# ls -lha /mm/Audio/
 +  total 36M
 +  drwxrwxr-x 1 mm   mm     7 Sep 20  2023  .
 +  drwxr-xr-x 4 root root   0 Mar 29 23:52  ..
 +  drwxrwxr-x 1 mm   mm    33 Jul  8  2023  Musik
  
  
/home/http/wiki/data/attic/sshfs.1711752884.txt · Zuletzt geändert: von manfred