Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Grant Handy
    @DefunctLizard
    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
    @GeigerCounter
    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
    @_FaizanAmin_twitter
    Hi. can any body help me about autologin in shellinabox on startup. And also, how to automatically execute commands in terminal
    vijaykanth-k
    @vijaykanth-k

    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>

    vijaykanth-k
    @vijaykanth-k

    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
    @vishalorange_gitlab

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

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

    vijaykanth-k
    @vijaykanth-k
    @vishalorange_gitlab
    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
    @hajdun
    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 :(
    jared704
    @jared704
    @hajdun This is for connecting using web browsing protocol such as Chrome, Chromium, firefox, etc.
    Bhavesh Mistry
    @bmistry13
    hi
    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
    @bmistry13
    Hello, again. Can someone help ?
    Bhavesh Mistry
    @bmistry13
    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.
    vijaykanth-k
    @vijaykanth-k

    Hi,

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

    Allan Zimmermann
    @skadefro
    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 )
    erajohl
    @erajohl

    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

    Installing:
    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

    Failed:
    shellinabox.x86_64 0:2.20-5.el7

    Complete!

    erajohl
    @erajohl

    @erajohl Ok exit code 127 means something is i missing in my path, is that correct?
    https://linuxconfig.org/how-to-fix-bash-127-error-return-code
    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
    @erajohl

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

    Nikunj
    @nikunj3112_twitter
    how can i increase the time out value for console, using openstack base setup
    Nikunj
    @nikunj3112_twitter
    how can increase the timeout value in shellinabox ? my console always timeout immediately
    Neko-LoverDisc
    @Neko-LoverDisc
    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
    sh5ahmads
    @sh5ahmads
    how to install shellinabox in play with docker linux terminal