mirror of
				https://github.com/byReqz/ssh-chat-docker.git
				synced 2025-11-03 18:31:29 +00:00 
			
		
		
		
	
			
				
					
						
					
					de0c0c5635432d460198070d6e240d1eaf327207
				
			
			
		
	ssh-chat docker
Docker image of ssh-chat by shazow.
Dockerhub: ssh-chat
Usage
Generate keys outside of Docker to keep persistence, and not get warnings:
$ ssh-keygen -t rsa -b 4096 -N '' -f ./ssh-chat-key
Run the docker image:
$ docker run -p 2022:2022 -v /ssh-chat-key:/ssh_key -v /admin_keys:/admin_keys  byreqz/ssh-chat:latest
You may supply additional arguments to the image, example:
$ docker run -p 22:22 -v /ssh-chat-key:/ssh_key  -v /admin_keys:/admin_keys byreqz/ssh-chat:latest --bind ":22"
Docker Compose:
version: '3.1'
services:
  ssh-chat:
    image: byreqz/ssh-chat:latest
    restart: always
    ports:
      - "2022:2022"
    volumes:
      - ./ssh-chat-key:/ssh_key
      - ./ssh-chat/admin_keys:/admin_keys
      - ./motd:/motd
    container_name: ssh-chat
Development
Improvements and ideas can be found on the projects issues section.
Description
				
					Languages
				
				
								
								
									Dockerfile
								
								66.6%
							
						
							
								
								
									Shell
								
								33.4%