cloudflared-mirror/ssh_server_tests
Dimitris Apostolou 197a70c9c4
Fix typos
2021-11-12 17:38:06 +02:00
..
ssh AUTH-2052: Adds tests for SSH server 2019-09-23 09:19:43 -05:00
Dockerfile TUN-4795: Remove Equinox releases 2021-08-05 08:24:36 +00:00
README.md AUTH-2052: Adds tests for SSH server 2019-09-23 09:19:43 -05:00
docker-compose.yml AUTH-2089: Revise ssh server to function as a proxy 2019-10-07 13:04:04 -05:00
tests.py Fix typos 2021-11-12 17:38:06 +02:00

README.md

Cloudflared SSH server smoke tests

Runs several tests in a docker container against a server that is started out of band of these tests. Cloudflared token also needs to be retrieved out of band. SSH server hostname and user need to be configured in a docker environment file

Running tests

  • Build cloudflared: make cloudflared

  • Start server: sudo ./cloudflared tunnel --hostname HOSTNAME --ssh-server

  • Fetch token: ./cloudflared access login HOSTNAME

  • Create docker env file: echo "SSH_HOSTNAME=HOSTNAME\nSSH_USER=USERNAME\n" > ssh_server_tests/.env

  • Run tests: make test-ssh-server