Skip to content

vitalNohj/ssh-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple SSH server (Paramiko)

Minimal password-only SSH server for demos and local testing.

Quick start

  1. cd /home/nohj/ssh-server
  2. (optional) python3 -m venv .venv && source .venv/bin/activate
  3. pip install -r requirements.txt
  4. python3 server.py --host 0.0.0.0 --port 2222 --username demo --password demo

Connect from another terminal:

ssh demo@localhost -p 2222 -o StrictHostKeyChecking=no

Files

  • server.py — Paramiko-based SSH server with a simple shell/exec handler.
  • host_key — server host key (generated automatically on first run).
  • requirements.txt — Python dependencies.

Notes

  • Auth is a single username/password pair; no public keys.
  • Commands run on the host where you start the server; do not expose to the public internet.
  • Stop with Ctrl+C in the server terminal.

About

Minimal password-only SSH server (Paramiko) for demos and local testing

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors