Open ghost opened 3 years ago
It needs to install cloudflared daemon on both host and client machines. Is it simpler that you just deploy webssh on Cloudflare?
I know what you mean, but if the host machine cannot be connected directly, Cloudflare provides a free introspectable tunnel (like ngrok) to access it via Cloudflare network. For example, now you can access Google Colab VMs via SSH. But cloudflared seems not have a proxy option and ssh twice time may be not so convenient.
You can deploy webssh on Cloudflare and configure your host machine to only accept ssh requests from Cloudflare network.
Cloudflare provides a command line tool to connect to server behind cloudflare DNS. It's equivalent to a proxy command:
Since
ProxyCommand
option may have security flaws, is it possible to provide a checkbox for this function? Thanks in advance.