- Linux & MacOS installation(Client)
- Linux
- Download a Cloudflare binary file from here
- Install a Cloudflare binary file
- Put the following in your '/home/"username"/.ssh/config' (requires a text editor like vim or nano)
maybe, you need to put following..
Host *.trycloudflare.com HostName %h User root Port 22 ProxyCommand <PUT_THE_CLOUDFLARE_FILE_PATH_HERE> access ssh --hostname %h
Host *.trycloudflare.com HostName %h User root Port 22 ProxyCommand cloudflare access ssh --hostname %h
- Mac
- Trying the following command(if you had installed 'brew')
$ brew install cloudflare
- Same procedure to number 3 step of the linux side
- Trying the following command(if you had installed 'brew')
- Windows
- Same procedure to number 1~2 step of the linux side
- Put the following in your installed path to ssh config(Same procedure to number 3 step of the linux side, but The path input method is different)
Host *.trycloudflare.com HostName %h User root Port 22 ProxyCommand C:\\cloudflared.exe access ssh --hostname %h
- Common(from Server)
- Go to the cloud, access the cloud shell and enter the following
git clone https://github.com/GabrielKim/ssh_jupyter_init.git
- Connect to jupyter, find the cloned Repository, press init.ipynb, and run it
- Look for the following in jupyter's output, and copy that part
"<your-connect-path>.trycloudflare.com"
- Do not terminate the session for this "jupyter"!
- Go to the cloud, access the cloud shell and enter the following
- Common
- Copy the path from the server and connect with your ssh
- When if connecting, the password is 0000.
- Linux
Enjoy!
The license for that source uses MIT.