Learn to Code via Tutorials on Repl.it!

← Back to all posts
Use repl.it as a VPS hosting
GaneshaSharma (49)

Use repl.it as a VPS/VM

Create a new bash repl. The repl name will be your VM name.

In the file, write bash.

Click run, and you get a shell!

URLs for your server are like this: VMNAME--ACCOUNT.repl.co

That's it. Really simple!

GaneshaSharma (49)

That's just a server wrapper to interact with. @retronbv

retronbv (128)

@GaneshaSharma but how would you use the .repl.co?

GaneshaSharma (49)

ssh foo--bar.repl.co
curl foo--bar.repl.co --data $(cat filetoupload)


retronbv (128)

@GaneshaSharma but does the ssh work? edit: also root?

GaneshaSharma (49)

SSH may not work. Root, well repl.it has be like maniac and not let me log in with a password. :( @retronbv

HahaYes (1862)

Whoa. This is cool

Highwayman (1441)

They used to have an api for this type of thing, but they just trashed it a while ago :/ I they are remaking it though so that’ll be cool...

NoNameByProgram (198)

...what do you mean by

URLs for your server are like this: VMNAME--ACCOUNT.repl.co

this doesn't do anything according to my common sense

GaneshaSharma (49)

Just for web stuff or probably even SSH. @NoNameByProgram

GaneshaSharma (49)

Repl.it kinda sucks cuz it wants me to get hacker and show summer discount and it's not summer. :D @NoNameByProgram