Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/vollborn/jetbrains-gateway-ssh

A SSH Docker container. Made for JetBrains Gateway.
https://github.com/vollborn/jetbrains-gateway-ssh

docker docker-compose gateway ide jetbrains linux server ssh ssh-server ubuntu

Last synced: about 2 hours ago
JSON representation

A SSH Docker container. Made for JetBrains Gateway.

Awesome Lists containing this project

README

        

# JetBrains Gateway SSH

JetBrains Gateway SSH was made to provide a clean SSH server for JetBrains Gateway.

## Getting started

JetBrains Gateway SSH is pushed to Docker Hub. You can use this docker-compose.yml example to quickly start a container:

```
version: "3.1"
services:
jetbrains-gateway-ssh:
image: vollborn/jetbrains-gateway-ssh
environment:
SSH_USERNAME: "${SSH_USERNAME:-jetbrains}"
SSH_PASSWORD: "${SSH_PASSWORD:-jetbrains}"
volumes:
- "./home:/opt/home"
ports:
- "${SSH_PORT:-22}:22"
```

You should change the default password and username by creating an .env file with your own credentials:

```
SSH_PORT=22
SSH_USERNAME=jetbrains
SSH_PASSWORD=myownpassword
```

## Development

1. Clone the repository
```shell
git clone https://github.com/vollborn/jetbrains-gateway-ssh.git
```

2. Build the container
```shell
docker-compose build
```

3. Copy .env.example to .env
```shell
# Linux
cp .env.example .env

# Windows
copy .env.example .env
```

4. Change the default password in the .env file.
```shell
# Linux
vim .env

# Windows
notepad .env
```

Current default configuration:
```
SSH_PORT=22
SSH_USERNAME=jetbrains
SSH_PASSWORD=jetbrains
```

5. Start the Docker
```shell
docker-compose up
```

Congratulations!

You can now access the SSH server with your specified credentials.