Enoki
  • Start Using Enoki
  • Getting familiar with the Admin Dashboard
  • Creating a Workspace
  • Navigating an Enoki Workspace
  • SSH Into Local Machine on Enoki
  • SSH Into Cloud Machine on Enoki
Powered by GitBook
On this page

SSH Into Local Machine on Enoki

PreviousNavigating an Enoki WorkspaceNextSSH Into Cloud Machine on Enoki

Last updated 2 years ago

With Enoki, you can easily SSH into your local machine to run your code using local compute. With this, you will benefit from Enoki's multiplayer functionality, while keeping your dev environment the same.

1) To start, sign up with a free account on ngrok . This is a secure SSH tunneling solution

2) Start your ssh server on your respective OS: For Mac, follow this: For Windows, follow this: For Linux, follow this:

3) Retrieve your free authtoken from ngrok () and run the following with your local terminal: ngrok config add-authtoken <authtoken> ngrok tcp 22

You'll see ngrok forwarding traffic to something like this: tcp://<ngrok_number>.tcp.ngrok.io:<port>

4) On an Enoki workspace, open terminal and ssh into your local machine using this: ssh -p <port> user@<ngrok_number>.tcp.ngrok.io

https://ngrok.com/
https://support.apple.com/lt-lt/guide/mac-help/mchlp1066/mac
https://woshub.com/connect-to-windows-via-ssh/
https://www.cyberciti.biz/faq/ubuntu-linux-install-openssh-server/
https://dashboard.ngrok.com/get-started/your-authtoken