Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/openspace42/easyengine-sftp

Easily assign secure and robust SFTP-only access to users for single EasyEngine sites
https://github.com/openspace42/easyengine-sftp

Last synced: 19 days ago
JSON representation

Easily assign secure and robust SFTP-only access to users for single EasyEngine sites

Awesome Lists containing this project

README

        

# EasyEngine-SFTP
Easily assign secure and robust SFTP-only access to users for single EasyEngine sites

## Inspired by:

http://blog.netgusto.com/solving-web-file-permissions-problem-once-and-for-all/

## Install [or update / re-install] [tested on Ubuntu 16]

```
[log in as root on your EasyEngine linux server]
cd
```

```
apt update
apt -y install git
```
```
git clone https://github.com/openspace42/EasyEngine-SFTP
bash EasyEngine-SFTP/setup
```

## Set up

### Adding an SFTP user

```
bash openspace42/ee-sftp/add-user username
```

### Assigning a website to an SFTP user

```
bash openspace42/ee-sftp/add-site-to-user
```

## Logging in

### via command line

```
sftp [email protected]
[password you specified during setup]
```

### via any SFTP graphical client

```
server: server.hostname.tld
port: [SSH port - usually 22]
[username and password you specified during setup]
```