Add Readme and remove docker-compose volumes
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 10s
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 10s
This commit is contained in:
25
README.md
Normal file
25
README.md
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
# SSH Server
|
||||||
|
|
||||||
|
A simple SSH server implemented in Go.
|
||||||
|
|
||||||
|
## Installation
|
||||||
|
|
||||||
|
Clone the repository and build with Go:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
go build -o ssh-server main.go
|
||||||
|
```
|
||||||
|
|
||||||
|
## Usage
|
||||||
|
|
||||||
|
Run the server:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
./ssh-server
|
||||||
|
```
|
||||||
|
|
||||||
|
Or using Docker:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
docker-compose up
|
||||||
|
```
|
||||||
@@ -1,10 +1,8 @@
|
|||||||
services:
|
services:
|
||||||
ssh-server:
|
ssh-server:
|
||||||
image: dcorral/ssh-remote:latest
|
image: dcorral3/go-ssh-server-command:latest
|
||||||
ports:
|
ports:
|
||||||
- "22:22"
|
- "22:22"
|
||||||
volumes:
|
|
||||||
- ../tui:/app/tui:ro
|
|
||||||
cap_add:
|
cap_add:
|
||||||
- SYS_CHROOT
|
- SYS_CHROOT
|
||||||
environment:
|
environment:
|
||||||
|
|||||||
Reference in New Issue
Block a user