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...

40 Responses

  1. 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).

  2. Anand says:

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

  3. 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….

  4. 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

  5. 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.

  6. knightsream says:

    Awesome! No more putty. :)

  7. 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. 57,739
  2. 3,201
  3. 25,639

Enter your email to get latest Linux Howto's