配置webssh

Web Console is a web-based application that allows to execute shell commands on a server directly from a browser (web-based SSH).

The application is very light, does not require any database and can be installed and configured in about 3 minutes. Installation process is really simple: Download latest version of the Web Console. Unpack archive and open file webconsole.php in your favorite text editor. At the beginning of the file enter your $USER and $PASSWORD credentials, edit any other settings that you like (see description in the comments). Upload changed webconsole.php file to the web server and open it in the browser.

0.1

下载webssh

0.2

然后放到/var/www/里面去,并且重命名为index.php

1.0

修改index.php文件 修改 $USER = ‘’; $PASSWORD = ‘’; 改为你的用户名和密码

1.1

修改ssh默认目录 $HOME_DIRECTORY = ‘’; 修改为$HOME_DIRECTORY = ‘/‘;

1.2

完成