# mount-on

> Mount directory on remote host.

Latest version **0.0.4** (published 2016-06-25) · ISC license · 0 weekly downloads

## Install

```sh
npm install mount-on
pnpm add mount-on
yarn add mount-on
bun add mount-on
```

Provides the command `mount-on`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.4 |
| Published | 2016-06-25 |
| First published | 2016-05-29 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 12 |
| Known vulnerabilities | 0 (+2 in 2 direct dependencies) |
| Install scripts | no |
| GitHub stars | 2 |
| Author | Ægir Örn Símonarson |
| Maintainers | agirorn |
| Keywords | mount, ssh, sshfs, remote, local |

## Links

- npm: https://www.npmjs.com/package/mount-on
- Repository: https://github.com/agirorn/mount-on
- Homepage: https://github.com/agirorn/mount-on#readme
- Issues: https://github.com/agirorn/mount-on/issues
- npm.io page: https://npm.io/package/mount-on

## Dependencies (12)

- [nopt](https://npm.io/package/nopt.md) ^3.0.6
- [read](https://npm.io/package/read.md) ^1.0.7
- [ssh2](https://npm.io/package/ssh2.md) ^0.5.0
- [curry](https://npm.io/package/curry.md) ^1.2.0
- [debug](https://npm.io/package/debug.md) ^2.2.0
- [merge](https://npm.io/package/merge.md) ^1.2.0
- [touch](https://npm.io/package/touch.md) ^1.0.0
- [fs-extra](https://npm.io/package/fs-extra.md) ^0.30.0
- [ssh2-exec](https://npm.io/package/ssh2-exec.md) ^0.3.3
- [untildify](https://npm.io/package/untildify.md) ^3.0.2
- [underscore](https://npm.io/package/underscore.md) ^1.8.3
- [ssh2-connect](https://npm.io/package/ssh2-connect.md) ^1.0.1

## Alternatives

- [messageformat](https://npm.io/package/messageformat.md) — 329.7K weekly downloads
- [@mintlify/scraping](https://npm.io/package/@mintlify/scraping.md) — 294.8K weekly downloads
- [@mintlify/previewing](https://npm.io/package/@mintlify/previewing.md) — 209.5K weekly downloads
- [@mintlify/prebuild](https://npm.io/package/@mintlify/prebuild.md) — 209.5K weekly downloads
- [@mintlify/link-rot](https://npm.io/package/@mintlify/link-rot.md) — 206.3K weekly downloads

## Recent versions

- 0.0.4 (latest) — 2016-06-25
- 0.0.3 — 2016-06-01
- 0.0.2 — 2016-05-31
- 0.0.1 — 2016-05-30
- 0.0.0 — 2016-05-29

## README

mount-on
========

Mount any local directory on a remote machine via ssh + sshfs.

## Installation

`npm install -g mount-on`

## Usage

**mount ~/directory-name on 192.168.33.10:/home/user/directory-name**

```
mount-on --local-host=192.168.33.20 \
         --local-folder=/home/user/directory-name \
         --local-user=vagrant \
         --local-password=vagrant \
         --remote-host=192.168.33.10 \
         --remote-folder=/home/user/directory-name \
         --remote-user=vagrant \
         --remote-password=vagrant
```

**mount ~/directory-name on 127.0.0.1:/home/user/directory-name**

```
mount-on user@127.0.0.1 ~/directory-name
```

**mount current working directory on 127.0.0.1:/home/user/directory-name.**

```
cd ~/directory-name
mount-on 127.0.0.1 .
```


**mount current working directory on**

```
127.0.0.1:/home/user/directory-name.
cd ~/directory-name
mount-on 127.0.0.1
```

---
_Source: https://npm.io/package/mount-on · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
