mirror of
https://github.com/fruworg/fruworg.github.io.git
synced 2025-01-18 03:40:51 +03:00
Create sshfs-fstab.md
This commit is contained in:
parent
53c9288161
commit
5429fe9431
24
content/posts/sshfs-fstab.md
Normal file
24
content/posts/sshfs-fstab.md
Normal file
@ -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
|
||||
<user>@<server-fqdn>:<remote-dir> <local-dir> sshfs allow_other,reconnect 0
|
||||
```
|
||||
|
||||
## Проверка монтирования
|
||||
|
||||
```shell
|
||||
mount -a
|
||||
```
|
Loading…
x
Reference in New Issue
Block a user