Shell In A Box – A Web-Based SSH Terminal to Access Remote Linux Servers

If you have any questions or problems regarding this article and want help within 24 Hours? Ask Now

Support TecMint: Did you find this tutorial helpful?. Please help to keep it alive by donating. Every cent counts! - Donate Now

Ravi Saive

Simple Word a Computer Geek and Linux Guru who loves to share tricks and tips on Internet. Most Of My Servers runs on Open Source Platform called Linux.

Your name can also be listed here. Got a tip? Submit it here to become an TecMint author.

Receive Your Free Complimentary eBook NOW! -

Download Free Linux eBooks

Advanced Bash-Scripting Guide
Linux Bible
A Newbie's Getting Started Guide to Linux
Introduction to Linux - A Hands on Guide

You may also like...

45 Responses

  1. Saul Uribe says:

    great, just I need to know where the service put the log file in case is active? this is beause I have fail2ban, and I want to have the rules. Thanks anyway

  2. Sofa says:

    Thank you very much for this useful posting.
    My problem is, that I can only use the port 443 via browser.
    I can not call https://IP:4220 but only https://IP (which is :443) – because of firewalls.
    I have on my root server some virtual hosts.
    How I can configure the Apache on one particular virtual host getting the requests https://IP forwarding them to the ShellInABox?

  3. Devin says:

    Hi There, Now I’m using Shellinabox on my server, I want to record all the operations on the server by shellinabox, and write then to the dababase. It seems shellinabox is wroten with C, I can’t find the variable of username and user’s input. Could you give me some tips? Thank you very much!!!

  4. It seems like shellinabox works fine for localhost but do not forward ssh session to destination remote host.
    Scenario: my setup has two servers: Server A with eth0 (public ipaddress) and eth1 (private ip address) and server B connected to eth1 of server A.
    Both server A and B has sshd running. Shellinabox is running on server A alognside apache2. Getting to server A ssh server through https is nto an issue but ssh session to server B is not working. I have modified /etc/default/shellinabox with destination ipaddress of server B for ssh session, but it is not working. Any help would be greatly appreciated, perhaps I am not using correct commands to include destination ipaddress and username and port number for remote SSH server (server B).

  5. Anand says:

    I like to integrate this to my website if public key can be used for login, any help?

  6. jeya pradeen says:

    how did i use this shellinabox to acces AWS server with a private key?

    • Ravi Saive says:

      I don’t think it support private key feature, but you can restrict access to specific IP address on specific port….

  7. Frank says:

    @Craig – useful for remote access. My employers block all ports outbound except web via proxy which does ssl termination For packet inspection.

    Hopefully this will work to access my machines at home

  8. Craig says:

    Why? What is wrong with ‘ssh’ from the terminal. So you are installing an additional server on your system just to support something it should already do?

    I don’t get it!

    Now if its just for the, hey I am a hacker and I like to do bizzarre stuff … then that makes some sense :o)


    • Aleksi says:

      For example I want to access to my server while I am playing. Steam does not allow own apps (like PuTTy) on Steam overlay -> I want to check IRC/Facebook chat (via BitlBee on my server) when I am waiting to CS:go round to end.

  9. knightsream says:

    Awesome! No more putty. :)

  10. Seetha says:

    Is there a way to login a user while starting this interface?

Leave a Reply

Your email address will not be published. Required fields are marked *

Join Over 95000+ Linux Users
  1. 66,682
  2. 3,836
  3. 31,647

Enter your email to get latest Linux Howto's