Thank you very much for this light and useful program !
I won't be able to do anything whithout it.
For more information:
http://code.google.com/p/shellinabox/wiki/shellinaboxd_man
Thanks for this program, it works fine here. However, I do not quite
understand the various descriptions under --service, could you provide some
more examples on the various options?
This is an awesome application. I currently cannot login as root on my
server, though other user accounts are able to login. Is there an easy way
to make root work like all other users?
This is likely an issue with how your distribution configures PAM. As such it isn't really anything ShellInABox controls. But it should be pretty easy to configure. Check your distribution's documentation.
Markus
> --
> To unsubscribe, reply using "remove me" as the subject.
Hi,
after testing some software for a shell in the browser, I came to the
conclusion that ShellInABox is the best of them! Thank you for that great
program!
I'm using ShellInAbox v2.10 on a Linux OpenSUSE System with Apache
webserver.
But now I've got a question:
How to change font and font size?
I'm trying to change the font to "Courier New" and the font size to 12pt.
I created this user css:
#vt100 #console, #vt100 #alt_console, #vt100 #cursor, #vt100 #lineheight {
font-family: "Courier New", "DejaVu Sans Mono", "Everson Mono",
FreeMono, "Andale Mono", "Lucida Console", monospace;
font-size: 1pc;
}
After its implementation it works fine when calling the site directly
with "http://<server>:4200". I only need to reload the site after made the
changing to make the cursor size and position change. But I also must load
the site a aecond time after starting the my browser (MSIE 8) when the
changing is already saved. Otherwize the cursor size is too small und half
of the letters are clipped.
As I said, after the second load it works fine.
Now I want to implement ShellInABox in an other Website as an iframe, and
here comes my problem:
In the iframe the size of the cursor is staying too small when
using "Courier New 12pt" and the letters keep clipped, reloading the
iframes doesn't help here.
Has someone an idea how I could solve that problem?
thanks,
Honk
You don't want to maintain individual user account for your users?
Seriously?! Please tell me you are not managing anything even remotely
important.
Damn man! The project is SOOOOOOOOO AWESEOME! MANY THX :))
Thanks
Getting root login to work: In /etc/default/shellinabox, I changed
`SHELLINABOX_ARGS=--no-beep`
to
`SHELLINABOX_ARGS="--no-beep --service=/:SSH"`
And voila! Root login works!
Installed on FreeBSD through ports, had to modify /usr/ports/GIDs and
/usr/ports/UIDs during "make install", but successfully started. Now
accessing it through web interface I get the login prompt, login with root,
but i get a "Login incorrect" reply. If I enable SSH using "-s /:SSH" and
try to login with root I get a session closed just after typing root+enter.
What have I done wrong or not done at all?
If you can log in as a regular user, but you cannot log in as "root", then
that is most likely a policy restriction somewhere else in your system. It
is unlikely to be an issue with ShellInABox per se.
Some Linux systems have the same problem and this can often be adjusted in
the PAM configuration files and/or in the configuration files for
the "login" program.
I'm running shell in a box as a daemon on debian.
How can I configure shell in a box to give me more rows and columns ?
Thanks.
I got it to work within 2 minutes, and I am still amazed like a child. Very
well done. Thank you :-)
Nihad
After i type the login in name and hit enter i get "Session closed."
Connect prompt. Am i missing some thing?
Are you by chance running Fedora? If so, take a look at
[http://shellinabox.googlecode.com/svn/trunk/README.Fedora README.Fedora].
It describes some of the caveats that you might encounter with this
distribution.
If you guys facing any error on your browser after installing shellinabox
like
(Error 113 (net::ERR_SSL_VERSION_OR_CIPHER_MISMATCH): Unknown error.) Just
follow the below instruction. I have tested this on FC12 / FC13 / Redhat5.4
/ CentOS 5.3
Finely after a long research I could able to success with https. Just
follow the below instruction you could up shellinabox with https.
The self sign could help us to solve the issue of
(Error 113 (net::ERR_SSL_VERSION_OR_CIPHER_MISMATCH): Unknown error.)
# openssl genrsa -des3 -out server.key 1024
# openssl req -new -key server.key -out server.csr
# cp server.key server.key.org
# openssl rsa -in server.key.org -out server.key
# openssl x509 -req -days 365 -in server.csr -signkey server.key -out
server.crt
# cat server.crt server.key > certificate.pem
# shellinabox
Then open the browser https://localhost:4200
Thanks,
Keerthi
@sjkeerthi: I tracked this down to openssl not being available during
install of the package on my system. Install openssl first, then
shellinabox.
Ideally, this should be a dependency
Kudos for the project. I love the speed. It leaves behind all other ajax
web terminal emulators in the dust.
Thank you
I agree with all the previous comments. Shellinabox is very, very good.
I would like to ask a couple of questions:
- Has anyone successfully ported shellinbox to centos 5.5 and got it to
work with https and certificates?
- If yes, how (give details please)?
Thanks in advance.
Hello, I have a few questions...
I was hoping to be able to access shellinabox from my Nokia N97 smartphone.
I installed the Ubuntu deb package on my Debian system. It segfaults, but
runs if I add --disable-ssl. I purged this and downloaded the latest source
from svn (version 2.10 (revision 239)) and built a deb package, but it
still only runs with --disable-ssl. I have the recommended libraries
installed.
So, with the daemon running, I can login from Firefox and it works fine.
When I connect from my cellphone and try to login, I see double characters
for everything I type, and the login fails with "Login incorrect". I don't
know anything about this browser. The Help/About says "BrowserNG/7.14".
I don't know how to get the right-mouse-button context menu on the cell
phone. I figure I need this to access the on-screen keyboard in order to
send ESC, ALT and CTRL key sequences. Perhaps the on-screen keyboard would
have to be turned on by an option to the daemon itself?
Any help with the above would be greatly appreciated!
Thanks,
Rick
If you always want the soft keyboard to be enabled, you could try finding
the line that reads "this.softKeyboard = false;" and changing it so that it
says "true" instead.
You most likely need to clear your cookies after doing this, as you
probably set cookies with the "false" value, when you previously opened the
page.
OK, that worked! I get the soft keyboard enabled in both in Firefox and the
phone browser.
On the phone, using the soft keyboard works in that I get single characters
and can login OK. However, I still get double characters typing directly
and only the soft keyboard works.
This is what it looks like:
$ ddaattee
-bash: ddaattee: command not found
Actually, I just found that if I hit backspace on the phone to remove the
extra characters, commands execute properly. I can even log in doing this.
It seems like the problem is with the phone's browser, but on the other
hand I don't get double characters when I enter into fields on other web
pages. Do you have any ideas about this?
Input events in Javascript are one of those things that are incredibly
poorly specified and every browser does its own thing. This is not a
problem when typing into input fields, as Javascript is rarely involved
with that. But it is a problem when writing a web application that needs to
receive individual keystrokes.
Unfortunately, without having access to the hardware, this will be pretty
much impossible for me to debug.
OK. After using it some more, I see that the double characters occur maybe
90% of the time.
I noticed (using the phone browser) that once the terminal fills and starts
to scroll, the soft keyboard disappears and doesn't come back. Any idea
about that? (It's OK on Firefox)
Maybe there's another browser I can install.
I installed 2 more browsers, Opera Mobile and Digia. I couldn't get Opera
to interact with shellinabox at all. It wouldn't send keystrokes even.
Digia behaves the same as the original browser above (including double
characters), except that I can get the soft keyboard back when it
disappears.
Thanks for a great project.
I have a legacy application that can produces pdf files when printing. I
want to open the file in a new window correctly. The pass through print
feature treats them as text. Is there a way to do this correctly?
In principle, this should be doable. But there are some non-trivial
security issues that need to be considered.
Please file a feature request in the "issues" tab, so that I don't forget
about this requests.
Unfortunately, "real-life" has been impinging on my schedule recently. So,
it might be a while before I get to it.
This thing is awesome- the speed is great compared to anything else I've
tried. One thing, though- I had to compile with AJAX_TIMEOUT set to 25 (vs.
45) so IE7 would not to timeout after 30 seconds of inactivity. I believe
IE7 is the only browser with that *special feature* ;)
I'm using the latest PPA version of shellinaboxd (2.10) on Ubuntu 10.10
server, it runs as a daemon. I'm accessing it via HTTPS from behind a
transparent proxy using Chromium 7 and Firefox 3.6.12. And both time out
after 20 seconds of inactivity. When used directly, that is with no proxy
in between, the timeout does not occur. Is this something a locally
compiled version with AJAX_TIMEOUT set to a lower than 20 value would fix?
If so, do you think the default could be set to a lower value or you could
modify the code in a way that this value would be a command line parameter?
Thanks.
Absolutely stunning piece of software, by the way.
I can definitely believe that a proxy has the ability to break connections
and force timeouts after a short amount of time. 20s sounds really short
though. I'd imagine that to cause problems with a lot of other services as
well.
But you could always try building your own version with a suitably adjusted
timeout value. Let us know what you find out.
I'd suggest you check out the source code from subversion, and then build
using the instructions in INSTALL.Debian.
As per your suggestion, I have built my own version with an AJAX_TIMEOUT
set to 15. Both the build and the install were flawless. And the custom
version works perfectly. So I can now conclude that my proxy hang issues
were caused by a low timeout value. Thanks.
This is a AWESOME project!!!
Thanks a lot!
Agree with the others here, ShellInABox rocks and is the best web terminal
emulator out there.
One question - is it possible to make it not capture the Command key on
apple mac systems. I want to type command-T to make new browser tabs, but
shellinabox is stealing that char so the browser doesn't see it.
Thanks!
I'm having some issues with the iphone...it shrinks down to a single line
of input in some cases, and the full screen goes away. It *almost* works,
but seems to run off the rails at some point. Any suggestions/fixes?
I have shellinaboxd using the CGI option working great, unless I turn on
the SuSE firewall (version 11.2). When I do that the CGI sometimes creates
TWO shellinaboxd processes (I can see this with ps -ef) and it never
completes the call. If the firewall is off, it works perfectly every time.
And sometimes it creates just one like it should, and this works as
expected.
Looks to me like some sort of timing issue as if it is getting some kind of
failure and then re-launching the process. I am not a firewall expert,
however, so I don't know for sure...but I do have to have the firewall on
when this is deployed.
Any help would be greatly appreciated!
Never mind on the above...it turns out that there is a rule that allows for
a certain range of ports and when shellinaboxd using the CGI happens to be
in that range it was working. When not, failing.
This project is awesome! Only thing that still troubles me is input of
international characters.
What encoding is shellinabox supposed to send/display? I run emacs on the
mac as a native cocoa gui and connect to it from within shellinabox and am
experiencing the following:
enter umlaut in gui -> see umlaut in emacsclient in shellinabox
enter umlaut in emacsclient in shellinabox -> see garbage in both
i am using the svn version, if i activate unicode support, i get
enter umlaut in emacsclient in shellinabox -> see umlaut in emacsclient but
garbage in gui
enter umlaut in gui -> see umlaut in gui but blanks in emacsclient
PS: I cannot use login on os x and only got shellinabox working by tweaking
pam
PPS: Did I say it's awesome?
This function resolves the problem, needs to be called once per connection.
(Add to your .emacs)
(defun enter-utf-8 ()
(interactive)
(progn
(set-terminal-coding-system 'utf-8)
(set-keyboard-coding-system 'utf-8)
(prefer-coding-system 'utf-8)))