September 18th, 2006

Ajax console for your Slice!

Celebrate good times. You speak, we listen, cool stuff happens. A major customer request was console access. Now why would you need console access when you have SSH?

Several reasons:
  • you might accidentally lock yourself out via firewall (never happens right?)
  • SSH can fail
  • you misconfigure a server and it can’t boot properly

Previously, you had to open a support issue to get this resolved. No longer! Just login to SliceManger, click the [console] link next to your Slice name and let the magic happen.



Pretty wicked eh? This shouldn’t replace SSH as your remote access method, even though it is encrypted over HTTPS. The console is mainly for emergency use or a quick check in when you only have browser access. But we’re certain it will make your life easier someday and that’s what we like to do.

Now who can you thank for such coolness? Jason of course. He forced Ruby, Rails and Python (ajaxterm) into the same room, then convinced them to play nicely. Too smart for his own good that guy. Pop into the chatroom and let us know what you think. As always thanks for your input – it’s how we make things better around here.

32 Comments

  1. Update – the pop-up window and console are bigger per customer requests.

  2. Great Stuff!!.. thanks for your devotion to quality service!

  3. Looks like the link to the picture is broken. :-(

  4. One strategy when working on a firewall via an SSH session is to not make any changes to the current firewall script. Make a copy of it. Make your changes to the copy. When you are ready for a test of the altered script:

    1) start a second SSH session and issue a shutdown -r 5 2) run the altered script

    This should give you enough time to see if the new script works. If your new script is messed up and locks you out, the timed shutdown command will call the original script upon reboot.

    If the new script works as designed simply make a back up of the original and rename the new script to the original name.

  5. This is just awesome folks. Sometimes I have situations when the only way I can connect in is via the browser. This rocks and thanks for making it an available option.

    Also, I know Slicehost has a lot of Ruby and PHP users and whatnot. I am a really only interested in Javascript on the server side (and optionally Java). I’m running Aptana Jaxer on my slice. Please show some love for Javascript on the server side.

    Thanks, Phil

  6. Heads up: you spelled “properly” improperly (“propoerly”).

  7. That’s cool. I think inspiration must have come from the IRB that’s hosted online. It emulates a Ruby shell, but uses AJAX. It’s fast.

  8. This may be a stupid question, but at what level is the console simulated? Does the program running in the virtual machine (Linux kernel) see a keyboard and VGA display, or is there something in the slicehost kernel images that makes this work?

    If my question isn’t clear, maybe this is: can I converse with the boot loader?

  9. Wow, this looks like a winner.. congrats on the unique solution. This will likely sway me into getting hosting with you guys!

  10. pretty nice panel interface it seems :)

    will be looking into the slices soon ;)

  11. @Bryan Henderson

    That is not a stupid question. The link to the actual program is included above (ajaxterm). Im not sure how SliceHost implemented it, but when you run ajaxterm on your own server, you can either have it connect to a shell or do ssh localhost. The web basically just acts as a proxy. Check out wikipedia’s article for more info: http://en.wikipedia.org/wiki/Web-based_SSH

  12. You ranked #3 on google for vps hosting. I was interested in purchasing one of your slices for my site but I’m a little reserve because you have a different control panel. How different is it from cPanel?

  13. Kao, cPanel should work fine with a slice once installed. The console and control panel described here are different from what cPanel does. Our SliceManager control panel is used to do things like manage your Slicehost account and slice type, while the console described here is a command-line access that can be used when SSH is unavailable. They won’t interfere with cPanel in any way.

  14. Btw, have you already released couple of updates for this version? Or this one is the latest available?

  15. We have updated the console from time to time, yes.

  16. Now why would you need console access when you have SSH? – it made me think aaand… good point indeed :) David

  17. We have updated the console from time to time, yes – okk thats good to know, some updates for other programs and stuff take forever to update and its frustrating…

  18. Thanks for the response, Jered. Sorry, I didn’t check sooner. Appreciate your input though.

  19. Is there a way to enter control characters in the ajax terminal? I entered “cat > t” and can’t regain control. Soft reboot got me out but that’s not so elegant.

  20. Unfortunately the only browsers that seem to pass control characters along to the AJAX console are Firefox and Internet Explorer.

  21. yeah, this is what i found…..!

  22. This is wonderful news. I’m embarrassed to admit how many times I’ve set the server up wrong!

  23. Great going Jason!It’s amazing what can be accomplished when we all just get along and work together. I love the console!

  24. pretty nice panel interface it seems :)

    will be looking into the slices soon ;)

  25. I’ve never thought to do things this way when I end up in a jam (but of course I would never lock myself out wink ) Very clever – I’ll have to keep this on hand.

  26. Great to hear about the update. Fianlyl we have more to be put into the laboratory, lol! Thanks for sharing.

  27. Slice manager is just what the doctor ordered. Good Job!

  28. Wow, this looks like a winner.. congrats on the unique solution. This will likely sway me into getting hosting with you guys!

  29. Thanks for the response, nice panel interface

  30. Thanks for outstanding feature for my slice’s, now I’m to read some tutorials about Ajax like “Ajax for Dummies” cause don’t know anything about it.

  31. Love Slice Manager. Great for emergency type situations.

  32. Love live SSH, always a good backup way to gain control if you lose your password.

Leave a Reply