JetBrains Gateway SSH was made to provide a clean SSH server for JetBrains Gateway.
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
- Clone the repository
git clone https://github.com/vollborn/jetbrains-gateway-ssh.git
- Build the container
docker-compose build
- Copy .env.example to .env
# Linux
cp .env.example .env
# Windows
copy .env.example .env
- Change the default password in the .env file.
# Linux
vim .env
# Windows
notepad .env
Current default configuration:
SSH_PORT=22
SSH_USERNAME=jetbrains
SSH_PASSWORD=jetbrains
- Start the Docker
docker-compose up
Congratulations!
You can now access the SSH server with your specified credentials.