Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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 months ago
JSON representation
A SSH Docker container. Made for JetBrains Gateway.
- Host: GitHub
- URL: https://github.com/vollborn/jetbrains-gateway-ssh
- Owner: vollborn
- Created: 2022-01-27T16:13:10.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-09-05T15:12:53.000Z (over 2 years ago)
- Last Synced: 2023-04-22T23:43:55.246Z (over 1 year ago)
- Topics: docker, docker-compose, gateway, ide, jetbrains, linux, server, ssh, ssh-server, ubuntu
- Language: Dockerfile
- Homepage: https://hub.docker.com/r/vollborn/jetbrains-gateway-ssh
- Size: 12.7 KB
- Stars: 24
- Watchers: 1
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.