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>
I'm getting error message when using SSH in shellinabox as shown below,
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.
Hello. I have some problems to install Shellinabox on Centos 7.
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
shellinabox x86_64 2.20-5.el7 epel 136 k
Install 1 Package
Total download size: 136 k
Installed size: 503 k
Is this ok [y/d/N]: y
shellinabox-2.20-5.el7.x86_64.rpm | 136 kB 00:00
Running transaction check
Running transaction test
Transaction test succeeded
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
@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.
shellinaboxit tells me that the commands not found, and maybe I meant