4.0.7 • Published 6 years ago

sshfs-box v4.0.7

Weekly downloads
4
License
MIT
Repository
github
Last release
6 years ago

SSHFS box

CLI tool to manage remote directories with SSHFS.

Features

  • One tool to manage all of your SSHFS remote directories.
  • Great error messages that will tell you exactly what went wrong.
  • Error recovery, in case there is any broken hanging SSHFS processes, sshfs-box will give you option to kill them.

Prerequisites

  • Dependencies:

    • node.js >= 8
    • Commands used under the hood that your operating system needs to support:
      • sshfs
      • fusermount
      • mount
      • ps
      • kill
    • npm to install
  • Supported operating systems

    • Ubuntu tested, works
    • MacOs tested on older versions of sshfs-box, should work

Install

  • npm install --global sshfs-box

Usage

  • sshfs-box
    • Starts the interface for mounting/unmounting.
    • When running for the first time, it will prompt to create a new config.
  • sshfs-box --config or sshfs-box -c
    • Configure remote & local paths to connect.
  • sshfs-box --help
    • Displays available CLI commands.

Configuration

  • Configuration is displayed when sshfs-box app is run for the first time or when passing the --config flag.
  • Config is stored in ~/.config/sshfs-box.json.

Config example

{
    urls: [
        "username@host1:",
        "username@host2:/home/user",
        "username@host2:/www"
    ],
    "folder": "/home/username/remote"
},

Config fields

  • urls
    • Required field.
    • Array of strings of remote locations that sshfs-box will connect to with SSHFS.
  • folder
    • Required field.
    • String of the local folder where remote locations will be mounted.
    • If the folder does not exist, it will be created automatically.
  • With the given example config username@host:/dir/subdir will be avaliable in /home/username/remote/username@host:-dir-subdir.

Potential improvements

4.0.7

6 years ago

4.0.6

6 years ago

4.0.5

6 years ago

4.0.4

6 years ago

4.0.3

6 years ago

4.0.2

6 years ago

4.0.1

6 years ago

4.0.0

6 years ago

3.0.0

6 years ago

2.1.4

6 years ago

2.1.3

6 years ago

2.1.2

6 years ago

2.1.1

6 years ago

2.0.2

7 years ago

2.0.1

7 years ago

1.0.0

7 years ago