Sign inSign up

stefanscherer/openssh-windows

By stefanscherer

Updated almost 7 years ago

OpenSSH service

Image
2

3.4K

stefanscherer/openssh-windows repository overview

OpenSSH

Run Microsoft OpenSSH service in a Windows container.

Why?

You might want to have a test environment to try it out.

Build the image

docker build -t openssh .

Run the image

docker run -d -p 2222:22 openssh

Test SSH connection

ssh -p 2222 User032@localhost

Known issues

Running cmd /c ver has an error, appending quotes:

$ ssh -p 2222 User03@localhost cmd /c ver
User03@localhost's password:
'ver"' is not recognized as an internal or external command,
operable program or batch file.

Opened issue https://github.com/PowerShell/Win32-OpenSSH/issues/1373

Dockerfile

Tag summary

Content type

Image

Digest

Size

2 GB

Last updated

almost 7 years ago

docker pull stefanscherer/openssh-windows