File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -417,20 +417,20 @@ sudo passwd {user} # replace user with your code-server user
417
417
418
418
[ ![ Cloudflared] ( https://img.shields.io/badge/Cloudflared-E4863B?style=for-the-badge&logo=cloudflare&logoColor=ffffff )] ( https://github.com/cloudflare/cloudflared )
419
419
420
- 1 . Install [ cloudflared] ( https://github.com/cloudflare/cloudflared#installing-cloudflared ) on your local computer
421
- 2 . Then go to ` ~/.ssh/config ` and add the following:
420
+ 1 . Install [ cloudflared] ( https://github.com/cloudflare/cloudflared#installing-cloudflared ) on your local computer and remote server
421
+ 2 . Then go to ` ~/.ssh/config ` and add the following on your local computer :
422
422
423
423
``` shell
424
424
Host * .trycloudflare.com
425
425
HostName %h
426
- User root
426
+ User user
427
427
Port 22
428
428
ProxyCommand " cloudflared location" access ssh --hostname %h
429
429
```
430
430
431
431
3 . Run ` cloudflared tunnel --url ssh://localhost:22 ` on the remote server
432
432
433
- 4 . Finally on VS Code or any IDE that supports SSH, run ` ssh coder @https://your-link.trycloudflare.com ` or ` ssh coder @your-link.trycloudflare.com `
433
+ 4 . Finally on VS Code or any IDE that supports SSH, run ` ssh user @https://your-link.trycloudflare.com ` or ` ssh user @your-link.trycloudflare.com `
434
434
435
435
### Option 2: ngrok tunnel
436
436
You can’t perform that action at this time.
0 commit comments