New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

jmate

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jmate

A nodejs port of rmate

latest
Source
npmnpm
Version
0.0.3
Version published
Weekly downloads
13
8.33%
Maintainers
1
Weekly downloads
 
Created
Source

jmate

A node.js port of rmate. Allows you to remote edit files in TextMate or Sublime Text through an ssh session.

Installation

On server, install node.js and jmate.

npm -g install jmate

Configure ssh to tunnel to your local machine using a remote port

ssh -R 52698:localhost:52698 user@example.com

Or, put this in your ~/.ssh/config to enable remote forwarding for your server(s):

Host example.com
    RemoteForward 52698 127.0.0.1:52698

Sublime Text

Install package rsub

Usage

Usage: jmate [options] <file ...>

  Options:

    -h, --help        output usage information
    -V, --version     output the version number
    -h, --host <str>  Connect to host. Use 'auto' to detect the host from SSH. Defaults to 'localhost'.
    -p, --port <num>  Port number to use for connection. Defaults to 52698.
    -w, --wait        Wait for file to be closed by editor.
    -l, --line <num>  Place caret on line <num> after loading file.
    -n, --name <str>  The display name shown in editor.
    -t, --type <str>  Treat file as having type <str>.
    -f, --force       Open even if the file is not writable.
    -v, --verbose     Verbose logging messages.

You can also set default host and port options for jmate in /etc/jmate.rc or ~/.jmate.rc. Additionally, the environment variables JMATE_HOST and JMATE_PORT will set the host and port options as well. For backwards compatibility, rmate.rc and RMATE_ can alternatively be used.

License

MIT License

Keywords

jmate

FAQs

Package last updated on 24 Jun 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts