vollborn / jetbrains-gateway-ssh

A SSH Docker container. Made for JetBrains Gateway.

Home Page:https://hub.docker.com/r/vollborn/jetbrains-gateway-ssh

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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
git clone https://github.com/vollborn/jetbrains-gateway-ssh.git
  1. Build the container
docker-compose build
  1. Copy .env.example to .env
# Linux
cp .env.example .env

# Windows
copy .env.example .env
  1. 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
  1. Start the Docker
docker-compose up

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

About

A SSH Docker container. Made for JetBrains Gateway.

https://hub.docker.com/r/vollborn/jetbrains-gateway-ssh


Languages

Language:Dockerfile 52.0%Language:Shell 48.0%