Run Microsoft OpenSSH service in a Windows container.
Why?
You might want to have a test environment to try it out.
docker build -t openssh .
docker run -d -p 2222:22 openssh
ssh -p 2222 User032@localhost
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
Content type
Image
Digest
Size
2 GB
Last updated
almost 7 years ago
docker pull stefanscherer/openssh-windows