From 5429fe9431bc6a686626dd9e82baeb975b77bc76 Mon Sep 17 00:00:00 2001 From: ruslan Date: Thu, 19 Sep 2024 13:29:15 +0200 Subject: [PATCH] Create sshfs-fstab.md --- content/posts/sshfs-fstab.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 content/posts/sshfs-fstab.md diff --git a/content/posts/sshfs-fstab.md b/content/posts/sshfs-fstab.md new file mode 100644 index 0000000..8e5db5c --- /dev/null +++ b/content/posts/sshfs-fstab.md @@ -0,0 +1,24 @@ +--- +title: Автомонтирование SSHFS +description: SSHFS + fstab +date: 2024-09-19T13:28:00+02:00 +tags: [linux, ssh] +--- + +## Установка пакета на клиенте + +```shell +apt -y install sshfs +``` + +## Добавление строки в /etc/fstab + +```config +@: sshfs allow_other,reconnect 0 +``` + +## Проверка монтирования + +```shell +mount -a +```