Where communities thrive

  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
Repo info
    Elhay Efrat
    there is any chance someone knows if you can connect this app to ldap ?
    Doctor Linux
    Forgot to update version number in the source code from 2.21? There is still 2.20.
    Grant Handy
    hey I am trying to run shellinabox on devuan linux ASCII, I've tried the .deb file from the debian buster repositories, the .deb file from the devuan repositories, and compiling it from source, and it still doesn't work for some reason. When I do "sudo service shellinaboxd status" it doesn't recognize it, but when I do "sudo service shellinabox status" it just skips to the next line.
    What should I do here?
    Collin Warren
    Hey, is anyone active here?
    I was wanting to use shellinabox as a way to live-stream things happening on a terminal without the viewer being able to make input.
    How would I go about disabling keyboard input with shellinabox? Thanks.
    Faizan Amin
    Hi. can any body help me about autologin in shellinabox on startup. And also, how to automatically execute commands in terminal

    Hi, I have installed SIAB 2.20 version in redhat linux server to use the CGI mode using shell script which works fine. But, when I do the same in Ubuntu 18.04 server its throwing "Unable to connect" error in browser. It's development environment so I even disabled firewall.

    Here is the link I followed to set up SIAB: https://www.tecmint.com/shell-in-a-box-a-web-based-ssh-terminal-to-access-remote-linux-servers/
    my shell script similar to this one: shellinabox/shellinabox#260
    command I'm using in script: shellinaboxd -t --cgi -s /:SSH:$parms
    URL to access script: http://<server-ip>/cgi-bin/ssh.sh?<destination-server-ip>


    Please let me know is there any known issues with SIAB 2.20 and Ubuntu 18.04 versions?
    If not please help me out to make it work.

    thanks in advance!

    Vishal Varshney

    Hey guys
    when i tried running following command
    shellinaboxd --port 4201 --disable-ssl

    it do nothing , screen hanged no response comes up..

    first of all you missed equal to "--port=4201"
    you should mention --service which should be either of "LOGIN", "SSH" or "telnet" and then provide hostip you want to login
    command should be like "shellinaboxd --port=4201 --disable-ssl --service=/:LOGIN:<your hostip>"
    Now open browser and enter url as follow "http://<hostip of server running shellinabox>:4201"
    Nora H
    Hello there!
    I cannot find documentation on connecting to shellinabox from an app, can someone give me a hint on this part?
    I have a socket connection from react but have no idea on request formatting :(
    @hajdun This is for connecting using web browsing protocol such as Chrome, Chromium, firefox, etc.
    Bhavesh Mistry
    I am using shell in box , and I am getting localhost - - [10/Mar/2020:23:00:36 +0000] "POST / HTTP/1.1" 200 157
    Closing connection to localhost:34216
    Child terminated
    Child terminated after just connect call
    Can someone please help, I will appreciate your help.
    Bhavesh Mistry
    Hello, again. Can someone help ?
    Bhavesh Mistry
    I was able to figure out the issue it was due to Transfer-Encoding: chunked. I used Content-Lenght: for POST and it worked.
    I hope it helps someone.


    I'm getting error message when using SSH in shellinabox as shown below,

    login: root
    command-line line 0: Unsupported option "rhostsrsaauthentication"
    command-line line 0: Unsupported option "rsaauthentication"

    when I searched for issue, there's a suggestion to remove those lines from shellinabox/service.c file (shellinabox/shellinabox#458)

    But, I'm unable to find service.c file may be since I'm using Ubuntu.
    Can you guys let me know how to disable them.

    Allan Zimmermann
    Hey. Is there a way to remove or clear the left click menu ?
    Everytime i click the browser window to give it focus a menu pops up with a few strings i pasted in many many months ago (and if i click one of them i does past in the text ), and i cannot figure out how to get rid of them ( on windows 10, using chrome connected to shellinabox running on a plain ubuntu 18.04 )

    Hello. I have some problems to install Shellinabox on Centos 7.
    uname -a
    3.10.0-1062.12.1.el7.x86_64 #1 SMP Tue Feb 4 23:02:59 UTC 2020 x86_64 x86_64 x86_64 GNU/Linu

    I cannot figure out what is wrong.

    ()[root@ironic-poc /]# yum install openssl shellinabox
    Loaded plugins: fastestmirror, ovl, priorities
    Loading mirror speeds from cached hostfile

    • base: ftp.lysator.liu.se
    • centos-ceph-nautilus: ftp.lysator.liu.se
    • centos-nfs-ganesha28: ftp.lysator.liu.se
    • centos-qemu-ev: ftp.lysator.liu.se
    • epel: ftp.lysator.liu.se
    • extras: ftp.lysator.liu.se
    • updates: ftp.lysator.liu.se
      7 packages excluded due to repository priority protections
      Package 1:openssl-1.0.2k-19.el7.x86_64 already installed and latest version
      Resolving Dependencies
      --> Running transaction check
      ---> Package shellinabox.x86_64 0:2.20-5.el7 will be installed
      --> Finished Dependency Resolution

    Dependencies Resolved


    Package Arch Version Repository Size

    shellinabox x86_64 2.20-5.el7 epel 136 k

    Transaction Summary

    Install 1 Package

    Total download size: 136 k
    Installed size: 503 k
    Is this ok [y/d/N]: y
    Downloading packages:
    shellinabox-2.20-5.el7.x86_64.rpm | 136 kB 00:00
    Running transaction check
    Running transaction test
    Transaction test succeeded
    Running transaction
    error: %pre(shellinabox-2.20-5.el7.x86_64) scriptlet failed, exit status 127
    Error in PREIN scriptlet in rpm package shellinabox-2.20-5.el7.x86_64
    Verifying : shellinabox-2.20-5.el7.x86_64 1/1

    shellinabox.x86_64 0:2.20-5.el7



    @erajohl Ok exit code 127 means something is i missing in my path, is that correct?
    Value 127 is returned by your shell /bin/bash when any given command within your bash script or on bash command line is not found in any of the paths defined by PATH system environment variable.

    The solution is to make sure that the command your are using can be found within your $PATH. If the command is not in your path either include it or use absolute full path to it. For more information see EXIT STATUS section of the bash man page.


    @erajohl Ok I managed to get around this by temporarily disabling security:
    setenforce 0
    yum install shellinabox
    setenforce 1

    Maybe not the preferred but this is for a POC...

    how can i increase the time out value for console, using openstack base setup
    how can increase the timeout value in shellinabox ? my console always timeout immediately
    im having issues setting up shellinabox
    I'm running Lubuntu
    every time I run shellinabox it tells me that the commands not found, and maybe I meant shellinaboxd
    how to install shellinabox in play with docker linux terminal
    i m trying to enable autologin can u please help me
    how to edit configuration in ubuntu
    Hi I am running shellinaboxd simply like this - /usr/sbin/shellinaboxd -u shellinabox -g shellinabox --cert=/var/lib/shellinabox --port=6175 This way anybody reaching my webserver on 6175 get access to the webcli. However, I am not sure how I can make it auto-login AND ALSO, based on logged user, i want to send the user credentials to shellinabox. Is that possible?
    George P
    Hello! I would like to connect to a libvirt VM running shellinabox through serial. What --service should I specify? Is --service /:LOGIN correct?
    hi all, I'm not able to find the basic commands for close and restart shellinabox. Could someone share them? thks in advance
    Athul Tony Manuel
    Hi, im using ShellInABox version 2.20, how can i login to a remote server without giving server username and password, only by inputing the pem file
    Chau Van Sang
    Hi guys is there anyway to change the default UI/Theme of shellinabox?

    Hi Team,

    I have enabled 2FA for my SSH on my Pi.
    But after installing and configuring ShellInABox, I am not getting the prompt to enter the auth-code.
    I there anything I'm missing or how can I re-enforce this?

    Hi Team,

    I have enabled 2FA for my SSH on my Pi.
    But after installing and configuring ShellInABox, I am not getting the prompt to enter the auth-code.
    I there anything I'm missing or how can I re-enforce this?

    Okay, found it!


    Christopher Placedes
    can anyone help me instead SSH I want to use the TELNET
    Hey, there's no SSH involved: shellinabox shares a remote console running /bin/login.
    SSL is involved, though – usually.
    :point_up: Edit: Hey, there's no SSH involved: shellinabox shares a remote console running /bin/login.
    Christopher Placedes
    How to fixed this [server] Failed to find session:

    I tried to build it and I’m pretty sure it returned an error.

    Just in general how do you connect remotely? The google source page linked talks about it running at localhost:4200.

    How do we connect to that remotely? In the past I’ve tried things like replacing localhost with the IP address but I didn’t find it to work.

    Or am I mistaken?

    We don’t need to set up any kind of forwarding, do we?

    Thanks very much

    Christopher Placedes
    Mine is working look up the output http://chat.chatmanila.net:9999
    Christopher Placedes

    Hi guys is there anyway to change the default UI/Theme of shellinabox?

    Try to edit the CSS files :)