← Back to context

Comment by JohnMakin

15 hours ago

The description of authentication mechanism is confusing me. it’s over ssh, but how is this integrated?

> Private by default, share with discord-style links exe.dev takes care of TLS and auth for you. By default only you can reach your HTTP services, and you have easy mechanims to share them with friends and colleagues.

Is anyone with access to a link able to get in?

I also don't understand this: Everyone with the right domain can ssh-in the vm?

Edit: Answered below, thank you.

You ssh in with any key, and it asks you for an email to verify. You're then at a exe.dev console.

There are a couple different link patterns:

  exe.dev ▶ doc sharing
  Sharing (sharing) - press q to exit
                                                                                                                                                                                                                                                 
  You can share your VM's HTTP port (see the http proxy documentation /proxy) with your friends. There are three mechanisms:                                                                                                                     
                                                                                                                                                                                                                                                 
  1. Make the HTTP proxy public with share set-public <vm>. To point the proxy                                                                                                                                                                   
  at a different port inside the VM, run share port <vm> <port> first.                                                                                                                                                                           
  Marking it public lets anyone access the server without logging in.                                                                                                                                                                            
  2. Add specific e-mail addresses using share add <vm> <email>. This will                                                                                                                                                                       
  send the recipient an e-mail. They can then log into exe.dev with that e-mail,                                                                                                                                                                 
  and access https://vmname.exe.xyz/.                                                                                                                                                                                                            
  3. Create a share link with share add-link <vm>. The generated                                                                                                                                                                                 
  link will allow anyone access to the page, after they register and login.                                                                                                                                                                      
  Revoking the link (which can be done with the remove-link command)                                                                                                                                                                             
  does not revoke their access, but you can remove users who are already                                                                                                                                                                         
  part of the share using share remove <vm> <email>.

  • Thanks! love the idea, looking forward to playing with this. I understand now from comments that this was brought to this site sooner than intended, sorry if I asked in a rude way.