zoukankan      html  css  js  c++  java
  • web版ssh的使用

    一、web_ssh版本安装使用

      web_ssh源码:https://github.com/shellinabox/shellinabox

    1)安装依赖包

    yum install git openssl-devel pam-devel zlib-devel autoconf automake libtool

    2)github下载源码

    git clone https://github.com/shellinabox/shellinabox.git && cd shellinabox

    3)执行操作

    autoreconf -i

    4)编译安装

    ./configure --prefix=/usr/local/shellnabox
    make && make install

     5)启动

    [root@jenkens bin]# /usr/local/shellnabox/bin/shellinaboxd 
    [ssl] Cannot read valid certificate from "certificate.pem"! Check file permissions and file format.
    该错误是需要和ssl结合使用,更安全
    
    [root@jenkens bin]# /usr/local/shellnabox/bin/shellinaboxd -t  忽略ssl启动
    在新窗口执行
    [root@jenkens ~]# netstat -lntup|grep 4200
    tcp        0      0 0.0.0.0:4200            0.0.0.0:*               LISTEN      6429/shellinaboxd 
    
    [root@jenkens bin]# /usr/local/shellnabox/bin/shellinaboxd -t -b  后台启动

    网页打开,注意防火墙问题

    特别强调。root账号不支持登陆

  • 相关阅读:
    hello world!
    react(一):组件的生命周期
    position和BFC
    继承
    绕不开的this
    js世界这么大,闭包想看看
    js中数组常用方法总结
    Appium混合应用测试
    手机APP兼容性测试
    运行monitor提示需要安装旧JAVA SE 6运行环境
  • 原文地址:https://www.cnblogs.com/linu/p/9894877.html
Copyright © 2011-2022 走看看