Home IT Linux Windows Database Network Programming Server Mobile  
           
  Home \ Linux \ shellinabox: one uses AJAX Web-based terminal emulator     - Ubuntu 14.04 build Hadoop 2.5.1 standalone and pseudo-distributed environment (32-bit) (Server)

- Big Data Common Glossary (Linux)

- Android screen rotation processing and ProgressDialog the best AsyncTask (Programming)

- Java Class file format parsing (Programming)

- Android project and coding specifications (Programming)

- Mac OS X 10.9 compiler OCI8 module (Programming)

- Sublime Text - Opens the current file in a browser (Linux)

- Linux kernel RCU (Read Copy Update) lock Brief (Linux)

- Oracle Database ORA-01555 snapshot too old (Database)

- Some common regular expressions (Linux)

- CentOS Nginx achieve 3 virtual machine load balancing (Server)

- CentOS 7 source code to compile and install PHP5.6 Nginx1.7.9 and MySQL (LNMP build environment) (Server)

- Python pickle module for simple use notes (Programming)

- Detailed installation OpenCV2.3.1 under CentOS 6.5 (Linux)

- The difference between Objective-C language nil, Nil, NULL, NSNull (Programming)

- DupeGuru- find and remove duplicate files (Linux)

- Java keyword final, static (Programming)

- Let Ubuntu 14.04 Save screen luminance value (Linux)

- Linux directory permissions to read and execute permissions difference (Linux)

- Use virt-manager to create and manage virtual machines (Linux)

 
         
  shellinabox: one uses AJAX Web-based terminal emulator
     
  Add Date : 2016-05-20      
         
       
         
  Shellinabox Profile

Normally, when we access any remote server, it will use a common communications tools such as OpenSSH and Putty and so on. However, it is possible that we can not use these tools to access a remote system behind a firewall, or firewall only allows HTTPS traffic to pass. do not worry! Even if you're behind a firewall such, we still have a way to access your remote system. And you do not need to install any similar OpenSSH or Putty communication tool. All you need is a JavaScript and CSS support modern browsers, and you do not have to install any plug-ins or third-party applications.

The Shell In A Box, pronounced shellinabox, by Markus Gutschke the development of a free and open source Web-based Ajax terminal emulator. It uses AJAX technology, through Web browsers provide native Shell similar look and feel.

This shellinaboxd daemon implements a Web server can listen on the specified port. Its Web server can publish one or more services, which display with AJAX Web applications implemented VT100 emulator. By default, the port is 4200. You can change the default port to choose any port number. After you install the remote server shellinabox, if you want to access from the local system, open a Web browser and navigate to: http: // IP-Address: 4200 /. Enter your user name and password, and then you can start using your remote Shell system. Looks interesting, is not it? Interesting indeed!

DISCLAIMER:

shellinabox not SSH client or any security software. It is just an application, Shell can simulate a remote system through a Web browser. At the same time, it has nothing to do with SSH. This is not a reliable security system remotely control your way. This is just one of by far the easiest method. Anyway, you should not run it on any public network.

Installation shellinabox

On Debian / Ubuntu system:

shellinabox default libraries are available. So you can install it using the command:

$ Sudo apt-get install shellinabox
 
On RHEL / CentOS systems:

First, use the command to install the EPEL repository:

# Yum install epel-release
Then, use the command to install shellinabox:

# Yum install shellinabox
carry out!

Configuration shellinabox

As I mentioned before, shellinabox listening on port 4200 by default. You can change this to any port number, in case someone else to guess.

On Debian / Ubuntu default location shellinabox configuration file is / etc / default / shellinabox. On RHEL / CentOS / Fedora, the default location in / etc / sysconfig / shellinaboxd.

If you want to change the default port,

In Debian / Ubuntu:

$ Sudo vi / etc / default / shellinabox
In RHEL / CentOS / Fedora:

# Vi / etc / sysconfig / shellinaboxd
Change your port to any number. Because I tested it on a local network, so I use the default.

# Shell in a box daemon configuration
# For details see shellinaboxd man page
# Basic options
USER = shellinabox
GROUP = shellinabox
CERTDIR = / var / lib / shellinabox
PORT = 4200
OPTS = "- disable-ssl-menu -s /: LOGIN"
# Additional examples with custom options:
# Fancy configuration with right-click menu choice for black-on-white:
# OPTS = "- user-css Normal: + black-on-white.css, Reverse: -white-on-black.css --disable-ssl-menu -s /: LOGIN"
# Simple configuration for running it as an SSH console with SSL disabled:
# OPTS = "- t -s /:SSH:host.example.com"
Restart shelinabox service.

In Debian / Ubuntu:

$ Sudo systemctl restart shellinabox
or

$ Sudo service shellinabox restart
In RHEL / CentOS system, run the following command can start shellinaboxd service automatically every restart

# Systemctl enable shellinaboxd
or

# Chkconfig shellinaboxd on
If you're running a firewall, remember to open port 4200 or whatever port you specify.

For example, in the RHEL / CentOS system, you can allow the port as shown in FIG.

# Firewall-cmd --permanent --add-port = 4200 / tcp
# Firewall-cmd --reload
 
use

Now, in your client system, open a Web browser and navigate to: https: // ip-address-of-remote-servers: 4200.

Note: If you change the port, fill port after modification.

You will get a warning message a certificate problem. Accept the certificate and continue.

Privacy error - Google Chrome_001

Enter the remote system's user name and password. Now, you'll be able to access from a browser shell itself remote system.

Shell In A Box - Google Chrome_003

Right-click an empty space in your browser. You can get some very useful additional menu options.

Shell In A Box - Google Chrome_004

From now on, you can feel free in your remote server operating system's native Web browser.

When you're done working, remember to enter exit to exit.

When connected to a remote system again, click the Connect button, and then enter the remote server's user name and password.

Shell In A Box - Google Chrome_005

If you want to know more details shellinabox in your terminal type the following command:

# Man shellinabox
or

# Shellinaboxd -help
Meanwhile, introduced reference shellinabox in wiki pages to find out the details of the integrated use of shellinabox.

in conclusion

As I mentioned before, if you run the server behind the firewall, web-based SSH tools are very useful. There are many web-based SSH tools, but shellinabox is very simple and useful tool, available from anywhere on the network, simulation Shell a remote system. Because it is browser-based, so you can access your server remotely from any device, as long as you have a support JavaScript and CSS browser.
     
         
       
         
  More:      
 
- Use matplotlib scientific drawing in Linux (Linux)
- Installation of JDK and Tomcat under Linux (CentOS) (Linux)
- To use Java arrays implement the order form (Programming)
- Detailed installation of CentOS 6.x (Linux)
- Installation Sublime Text 3 (Build 3065) text editor in Ubuntu (Linux)
- Service manager OpenBSD on rccl (Server)
- Python decorators to learn and practice the actual usage scenarios (Programming)
- Without Visual Studio .NET Windows application development (Programming)
- Customize own small private Linux system (Linux)
- JBoss7 configuration - Supports IPv4 and IPv6 dual-stack environment (Server)
- Red Hat Enterprise Linux Server 6.5 installation GCC 4.9.2 (Linux)
- Ubuntu 15.10 15.04 14.10 14.04 Install Ubuntu Tweak (Linux)
- Unable to solve the official version of Android Studio online update problem (Linux)
- C # get the current screenshot (Programming)
- MySQL concat function is SQL injection (Linux)
- Shell Scripting Interview Questions (Programming)
- Linux installation and configuration curl command tool (Linux)
- An Example of GoldenGate Extract Process Hang Problem Solving (Database)
- The principle Httpclient4.4 (execution request) (Programming)
- Oracle to start to solve the error ORA-27102 (Database)
     
           
     
  CopyRight 2002-2016 newfreesoft.com, All Rights Reserved.