fruworg.github.io/content/posts/sshfs-fstab.md
2024-09-19 13:29:15 +02:00

25 lines
436 B
Markdown

---
title: Автомонтирование SSHFS
description: SSHFS + fstab
date: 2024-09-19T13:28:00+02:00
tags: [linux, ssh]
---
## Установка пакета на клиенте
```shell
apt -y install sshfs
```
## Добавление строки в /etc/fstab
```config
<user>@<server-fqdn>:<remote-dir> <local-dir> sshfs allow_other,reconnect 0
```
## Проверка монтирования
```shell
mount -a
```