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:
services: jetbrains-gateway-ssh: image: vollborn/jetbrains-gateway-ssh environment: SSH_USERNAME: "${SSH_USERNAME:-jetbrains}" SSH_PASSWORD: "${SSH_PASSWORD:-jetbrains}" volumes: - "./home:/opt/home" # - "./setup.sh:/opt/setup.sh" 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 git clone https://github.com/vollborn/jetbrains-gateway-ssh.gitdocker-compose build# Linux cp .env.example .env # Windows copy .env.example .env# Linux vim .env # Windows notepad .envCurrent default configuration:
SSH_PORT=22 SSH_USERNAME=jetbrains SSH_PASSWORD=jetbrains Do you have additional dependencies you need to install? Just copy the setup.sh.example, add your dependencies and mount it as /opt/setup.sh.
The script will run every time the container starts.
docker-compose upCongratulations!
You can now access the SSH server with your specified credentials.