`

shellinabox遠端終端機

 
阅读更多

介紹

Shellinabox 是一個利用 Ajax 技術構建的基於Web的遠端Terminal模擬器,此終端模擬器在任何支援cssjavascript特效的流覽器上均可以使用,並且流覽器不需要安裝額外的外掛程式。也就是說安裝了該軟體之後,通過 Web 網頁就可以對遠端主機進行維護操作了,出於安全考慮, Shellinabox 預設強制使用了 Https 協定。當然,這個軟體對於有特殊需求的人也許有用,通常使用的話個人還是建議使用 SSH ,畢竟 SSH 更加安全。

下載

下載地址:http://code.google.com/p/shellinabox/downloads/list

安裝配置

[root@oStor1 shellinabox]# tar xvf shellinabox-2.14.tar.gz

[root@oStor1 shellinabox]# cd shellinabox-2.14

[root@oStor1 shellinabox-2.14]# ./configure && make && make install

[root@oStor1 shellinabox-2.14]# shellinaboxd -b –t

或者運行下面的以黑底白字顯示

[root@oStor1 shellinabox-2.14]# shellinaboxd -b -t --css shellinabox/white-on-black.css

終端登錄

通過web訪問http://IP:4200

 

 

 

登錄成功後跟其他終端類似,支援tab鍵自動補全等。

排錯

<!--[if !supportLists]-->1.  <!--[endif]-->輸入密碼後提示Login incorrect

查看/var/log/secure提示

Feb 22 10:16:42 ostor1 login: pam_securetty(remote:auth): access denied: tty 'pts/3' is not secure !

解決辦法:根據”tty pts/3 is not secure”的提示。添加 pts/ 系列終端到/etc/securetty

pts/1

pts/2

pts/3

pts/4

pts/5

//也不知道有多少可以加,不能登陸就看log,如果不夠再加好了。

 

  • 大小: 34.5 KB
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics