, ,

Autofs SFTP (SSH)

Obsolète : voir Automount - Monter automatiquement un lecteur via SystemD

Voir aussi :

Pour pouvoir utiliser rsync quand on n'a pas d'accès shell par exemple

apt-get install autofs sshfs
echo '/mnt/sshfs /etc/auto.sshfs --timeout=30,--ghost' >> /etc/auto.master

/etc/auto.sshfs

bar -fstype=fuse,port=2222,rw,nodev,nosuid,noexec,noatime,allow_other,max_read=65536,IdentityFile=/home/jean/.ssh/id_rsa :sshfs\#jean@192.168.1.149\:
service autofs restart