4
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

sshfsをfstabに書く

Last updated at Posted at 2014-12-11

参考

書式

/etc/fstab
sshfs#user1@server:/srv /opt/sshfs/server fuse allow_other,IdentityFile=/home/user1/.ssh/id_rsa,ServerAliveInterval=60 0 0
# mount /opt/sshfs/server

メモ: sshfs コマンドでのマウント

sshfs server1:/srv/ /home/user/sshfs/server1 \
 -o allow_other \
 -o ro \
 -o nonempty
4
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?