https://github.com/abecms/abe-deployer-sftp
An Abe deployer for FTP and SFTP
https://github.com/abecms/abe-deployer-sftp
Last synced: 5 months ago
JSON representation
An Abe deployer for FTP and SFTP
- Host: GitHub
- URL: https://github.com/abecms/abe-deployer-sftp
- Owner: abecms
- Created: 2017-03-31T16:36:24.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-10-15T19:12:22.000Z (over 8 years ago)
- Last Synced: 2025-06-24T01:39:38.350Z (12 months ago)
- Language: HTML
- Size: 468 KB
- Stars: 0
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# abe-deployer-sftp
An Abe deployer to sync your site in sftp or ftp
## Introduction
This plugin is a sftp-ftp deployer for your Abe blog. It relies on [node-ftps](https://github.com/Atinux/node-ftps).
Thanks to [Sébastien Chopin](https://github.com/Atinux/node-ftps)
Everytime you'll publish/unpublish a content, your blog will be sync'ed with the remote directory.
## Installation
###
You'll need [lftp](https://lftp.yar.ru/) executable Abe server side.
### Linux
```shell
sudo apt-get install lftp
# or
sudo yum install lftp
```
### OSX (Homebrew)
```shell
sudo brew install lftp
```
### Windows
```shell
C:\> choco install lftp
```
### Plugin Installation
``` abe install abecms/abe-deployer-sftp```
## Configuration
In abe.json, just add ```sftp``` entry in "deployers" section:
### sftp config with ssh Key
```
"deployers": {
"sftp": {
"active": true,
"host": "yourserver",
"requiresPassword": false,
"username": "sftp user",
"requireSSHKey": true,
"sshKeyPath": "/path/to/id_rsa_pub",
"remoteDir": "/path/to/your/abecms/site",
"protocol": "sftp"
}
}
```
### ftp config with username/password:
```
"deployers": {
"sftp": {
"active": true,
"host": "yourserver",
"requiresPassword": true,
"username": "ftp user",
"password":"Your_PaSSWoRD",
"remoteDir": "/path/to/your/abecms/site",
"protocol": "ftp"
}
}
```
If you want to deactivate the plugin, set active as ```false.```