个人工具

UbuntuHelp:Shellinabox

来自Ubuntu中文

跳转至: 导航, 搜索

Overview

shellinabox is a web based terminal that uses Ajax technology to provide the look and feel of a native shell.

Installation and Setup

shellinabox is not yet in the Ubuntu package repositories so you must download and install one of the Debian packages from the official project page. When you click the download link, your browser should ask if you want to open the .deb file with GDebi Package installer; choose Okay and then click the Install button. Navigate to [1]

Tips

Change the default port

Edit /etc/default/shellinabox so that the default port is 443.

sudo gedit /etc/default/shellinabox

Then restart the shellinabox daemon:

sudo invoke-rc.d shellinabox restart

Now you can access your shellinabox server with an easier URL: [2]

Access your shellinbox server from outside your LAN

Configure your home router to forward TCP traffic port 443 (assuming you followed the above tip) to your computer's IP address. You can right click on the Network Manager applet and choose connection information to find your computers IP address. Now you can access your computer when away from home by navigating to [3]. You can get your public IP address by going to [4]. To make it easier to remember your public IP address you can register with a Dynamic DNS service.

Links

Official project page