File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 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
417417
418418[ ![ Cloudflared] ( https://img.shields.io/badge/Cloudflared-E4863B?style=for-the-badge&logo=cloudflare&logoColor=ffffff )] ( https://github.com/cloudflare/cloudflared )
419419
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 :
422422
423423``` shell
424424Host * .trycloudflare.com
425425HostName %h
426- User root
426+ User user
427427Port 22
428428ProxyCommand " cloudflared location" access ssh --hostname %h
429429```
430430
4314313 . Run ` cloudflared tunnel --url ssh://localhost:22 ` on the remote server
432432
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 `
434434
435435### Option 2: ngrok tunnel
436436
You can’t perform that action at this time.
0 commit comments