amoussard / sftp-deployment

Spend less time managing file transfers and more time coding. SFTP support for Atom.io to send and receive files directly in your server.
MIT License
76 stars 44 forks source link

Build Status Coverage Status

SFTP-Deployment for Atom.io

Spend less time managing file transfers and more time coding. FTP and SFTP support for Atom.io to send and receive files directly in your server.

SFTP-Deployment is a package for Atom.io using SSH2 client and Node FTP modules written in pure Javascript for node.js.

SFTP-deployment

Features

Workflows

Compatibility

Integration

Installation

  1. Search sftp or ftp in the atom package manager
  2. Since the installation is successful, you can generate the configuration file with the command
    • cmd-shift-p and search mapToRemote
    • Packages menu -> FTP/SFTP -> Map to Remote...
    • Create your own
  3. Set your ftp/sftp configuration in this file
  4. Use it!

The configuration file MUST always be in the root directory of your project.

Example of configuration file:

SFTP with user/password :

{
    "type": "sftp",
    "host": "example.com",
    "user": "username",
    "password": "password",
    "port": "22",
    "remotePath": "/example/path"
}

SFTP protocol with private key :

{
    "type": "sftp",
    "host": "example.com",
    "user": "username",
    "port": "22",
    "remotePath": "/example/path",
    "sshKeyFile": "~/.ssh/id_rsa",
    "passphrase": "your_passphrase"
}

The passphrase is optional, only if your key require it.

FTP protocol :

{
  "type": "ftp",
  "host": "example.com",
  "username": "username",
  "password": "password",
  "port": "21",
  "remotePath": "/example/path"
}

Next Versions

Workflows

Integration

Versions