Skip to content
nethesisPublic

About

Remote support system

Resources

Stars

7 stars

Watchers

6 watching

Forks

Latest commit

 

History

88 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WindMill

How many time did you have the need to connect to a customer server but the customer didn't want to open the SSH server? It's almost like tilting at windmills!

WindMill is a platform for remote support which simplify accessing remote machines behind NAT or restrictive firewalls.

Characters:

  • WindMill: a bastion host which bridges connections from customers and operators
  • Don: the client which connects to WindMill
  • Sancho: a CLI for the operators to ease remote access
  • Ronzinante: the server which does the dirty job on WindMill

Connection report

Every operator connection made with sancho session ssh is recorded with operator, unit, start and end time. Get the report on WindMill, without Session IDs, by operator or by system (Server ID):

curl 'http://localhost:8080/api/report?operator=mario&from=2026-12-01&to=2026-12-31&format=csv'
curl 'http://localhost:8080/api/report?unit=NETH-1A2B-3C4D-5E6F&format=csv'

Tunnels opened without any connection are listed with an empty operator. See ronzinante docs for all filters.

The same events are logged to syslog with windmill tag, read them with journalctl -t windmill:

  • OPEN, CLOSE: a unit opened or closed its tunnel
  • SSH_START_SESSION, SSH_END_SESSION: an operator connected or disconnected, with operator, unit (Server ID) and log_id (the report id)
  • SSH_STOP_SESSION: an operator closed the tunnel with sancho session close

Keyholder

The keyholder-proxy needs python 3. If the service fails with the following error:

Error: ssh-agent-proxy requires PyYAML (http://pyyaml.org/)
Debian / Ubuntu: `apt-get install python3-yaml`
RHEL / Fedora / CentOS: `yum install python-yaml`
All others: `pip3 install PyYAML`

Execute:

yum install python36-pip
pip3 install PyYAML
systemctl start keyholder-proxy

Machine reboots

Upon reboot, make sure to execute keyholder arm.

About

Remote support system

Resources

Stars

7 stars

Watchers

6 watching

Forks

Releases

Packages

Used by

Contributors

Languages