https://github.com/cppmx/test_ssh_server
Dcoker container for SSH tests
https://github.com/cppmx/test_ssh_server
Last synced: about 2 months ago
JSON representation
Dcoker container for SSH tests
- Host: GitHub
- URL: https://github.com/cppmx/test_ssh_server
- Owner: cppmx
- Created: 2018-03-09T02:01:43.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-03-09T03:21:07.000Z (about 8 years ago)
- Last Synced: 2025-06-10T05:04:23.139Z (10 months ago)
- Size: 1000 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Description
This docker container contains an Ubuntu 14.04 sshd server. The name of the project is test_ssh_server.
This small project is under development.
# Use
Build the docker image with the command:
`docker build -t test_sshd .`
Once the inage is created, run the image with the command:
`docker run -d -P --name eg_sshd test_sshd`
Check that the 22 port is present whith the command:
`docker port test_sshd 22`
You can inspect the docker machine to find the IP address of your sshd server:
`docker inspect eg_sshd | grep IPAddress`
Now you can connect via ssh:
`ssh sshtest@IPAddress`
Use `testpswd` as password