Michael Borkenstein dbde3870da AUTH-2089: Revise ssh server to function as a proxy | 5 лет назад | |
---|---|---|
.. | ||
ssh | 5 лет назад | |
Dockerfile | 5 лет назад | |
README.md | 5 лет назад | |
docker-compose.yml | 5 лет назад | |
tests.py | 5 лет назад |
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
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