https://github.com/131/docker-shellwin
A simple sshd server for windows
https://github.com/131/docker-shellwin
Last synced: 3 months ago
JSON representation
A simple sshd server for windows
- Host: GitHub
- URL: https://github.com/131/docker-shellwin
- Owner: 131
- Created: 2023-03-24T10:11:58.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2023-03-24T12:16:15.000Z (about 3 years ago)
- Last Synced: 2025-05-15T05:35:07.238Z (about 1 year ago)
- Language: Dockerfile
- Size: 5.86 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[](https://hub.docker.com/r/131hub/shellwin)
[](https://hub.docker.com/r/131hub/shellwin)
[](https://hub.docker.com/r/131hub/shellwin)
# Motivation
[`131hub/shellwin`](https://hub.docker.com/r/131hub/shellwin) is a **docker image** bringing simple OpenSSH shell server container to your windows host. You can use it as a DOCKER_HOST gateway (using ssh) to a windows host.
# Configuration
Define `SHELL_AUTHORIZED_USERS` (path to authorized key file) and `SHELL_SERVER_KEY_PATH` as environnement vars.
Permission on those file will be automaticaly set by the container.
# Forced user `root`
The only available user is `root`. So connect to this container using `ssh root@[host]`.
# Usage in a swarm
```
services:
shellwin:
image: 131hub/shellwin
# publish ssh server
ports:
- 22:22
networks:
- default
volumes:
# forward docker pipe from host to container
- type: npipe
source: \\.\pipe\docker_engine
target: \\.\pipe\docker_engine
```
# Credits
* [131](https://github.com/131)