https://github.com/shravannjain/ubuntu-ssh-env
Simple Docker-based environment for SSH access to a container You can play,test,learn about networking tools.
https://github.com/shravannjain/ubuntu-ssh-env
dockerfile networking secure-shell
Last synced: about 1 month ago
JSON representation
Simple Docker-based environment for SSH access to a container You can play,test,learn about networking tools.
- Host: GitHub
- URL: https://github.com/shravannjain/ubuntu-ssh-env
- Owner: ShravannJain
- Created: 2024-12-05T13:39:47.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-12-06T05:04:04.000Z (about 1 year ago)
- Last Synced: 2025-01-23T06:16:16.486Z (about 1 year ago)
- Topics: dockerfile, networking, secure-shell
- Language: Dockerfile
- Homepage:
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# SSH Docker Environment
Simple Docker-based environment for SSH access to a container.
You can play,test,learn about networking tools.
## Instructions
### 1. Build the docker image
docker build -t ssh-container .
### 2.Run the docker container
docker run -d -p 2222:22 --name ssh-container ssh-container
### 3.Connect via ssh
ssh sshuser@localhost -p 2222
### username: sshuser
### password: password
### note:You can change the username and password inside the dockerfile