V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
Distributions
Ubuntu
Fedora
CentOS
中文资源站
网易开源镜像站
fxxkgw
V2EX  ›  Linux

shellinabox 如何执行多个任务

  •  
  •   fxxkgw · 2016-04-05 20:53:04 +08:00 · 2160 次点击
    这是一个创建于 2959 天前的主题,其中的信息可能已经有所发展或是发生改变。

    想在 web 界面上模拟 linux 终端,搜到了 shellinabox , yum 安装后执行: shellinaboxd -t --disable-ssl-menu -s /shell:pe:pe:/home/pe:'expect /home/pe/back_management/test.exp 172.168.1.1 password'
    通过这种方式执行 expect , 172.168.1.1 password 是 test.exp 的参数 现在想同一时刻执行 expect 时传入不同参数,再启 shellinaboxd 方式可以是不行的,该如何处理呢?总不会要一直加-s expect 然后重启应用这种方式吧?

    目前尚无回复
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   3155 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 14:01 · PVG 22:01 · LAX 07:01 · JFK 10:01
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.