Home IT Linux Windows Database Network Programming Server Mobile  
           
  Home \ Linux \ shellinabox: one uses AJAX Web-based terminal emulator     - CentOS minimal network is unavailable resolved (Linux)

- Linux command ls (Linux)

- Everyone should know something about TCP (Linux)

- Python closure and function objects (Programming)

- Create several practical points of high security PHP site (Linux)

- Linux Mint under tty.js Installation Guide (Linux)

- CentOS 6.5 x86_64 system customized automated deployment (Linux)

- Java factory pattern (Factory mode) (Programming)

- ssh port forwarding Comments (Server)

- Linux GCC 5.1.0 compiler installation (Linux)

- Linux and SELinux Exploration Program Manager (Linux)

- Linux disk and File System Concepts (Linux)

- Analysis of C ++ exception mechanism (Programming)

- Percona MySQL 5.6 semi-synchronous replication (Database)

- How VMware extend disk without rebooting the system (Linux)

- Use source packages compiled and installed GCC5.1 in Mac OS X 10.10.3 (Linux)

- Practical top command (Linux)

- Linux SVN account password to save your settings (Linux)

- Linux common commands MEMO (Linux)

- Single-node Hadoop installation notes distributed pseudo & (Server)

 
         
  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:      
 
- How to convert images, audio and video formats on Ubuntu (Linux)
- Linux Workstation Security Checklist - from the Linux Foundation Internal (Linux)
- Linux how to handle file names that contain spaces and special characters (Linux)
- Linux, security encryption to transfer files between machines (Linux)
- Use smem visual display Linux memory usage (Linux)
- Lua study notes under ubuntu (Linux)
- MySQL high availability cluster fragmentation of deployment uses Fabric (Database)
- Oracle in the add & split partition on the impact of global & local index (Database)
- Python dictionary applications get built-in method (Programming)
- KVM add virtual disks (Linux)
- Linux System Tutorial: How to browse the Linux command line, weather forecast (Linux)
- Linux loopback adapter Driven Design (Programming)
- To explore the caching mechanism for Android ListView (Programming)
- Remove old kernel on Ubuntu (Linux)
- Python variable type (Programming)
- Python control multi-process and multi-threaded concurrency (Programming)
- How to use the tab in Vim carried Python code completion (Linux)
- Linux data redirection (Linux)
- Create the container and run the application Docker (Server)
- Squid proxy server (Server)
     
           
     
  CopyRight 2002-2016 newfreesoft.com, All Rights Reserved.