Skip to content

abiosoft/docker-ssh-server-sample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ssh server

A sample ssh server for testing ssh connection

Starting the server

# add the -d flag to run it in background
docker-compose up --build

Connecting to the server

  • -l is the user to login as
  • -p is the port to connect to
  • -i is the identity file (SSH private key) to use
ssh -l root -p 2222 -i ssh/id_rsa 127.0.0.1

Teardown the server

docker-compose down

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published