网站: JavaEye 作者: 歆渊 发表时间: 2007-07-11 23:31 此文章来自于 http://www.iteye.com
声明:本文系JavaEye网站原创文章,未经JavaEye网站或者作者本人书面许可,任何其他网站严禁擅自发表本文,否则必将追究法律责任!
原文链接: http://www.iteye.com/topic/100212
BSD License, 需要 JDK 6.0 或者 JRE 6.0 + OpenJDK Javac 运行. 参照代码包中 demo/src 目录下的示例, 就可以很简单的写成包装自己应用对象的 SSH Server 了 启动演示 SSH Shell Server
引用
D:\workspace\SecureJSH>ant demo build: compile-demo: run-java-demo: 然后通过任意SSH客户端连接上去:
引用
Using username "sjsh". Authenticating with public key "imported-openssh-key" This is an interactive Java(TM) shell, type in Java(TM) Type in Ctrl^D to logout. Type in ? or help for a list of available commands. Type in Use UP/DOWN arrow keys for command history. Here you are in the demo shell. There are two demo built-in commands: 'msg' and 'msgs', Try them out and write your own shell similarly. SecueJSH Java(TM) Compiler Ready. [jsh ]$ ? class Type in: help | ? The following built-in methods: Type in: javap(this); [jsh ]$ fields [jsh ]$ javap(this); [jsh ]$ for(Map.Entry [jsh ]$ |
《 通过SSH的交互式Java应用开发和管理 》 的评论也很精彩,欢迎您也添加评论。查看详细 >>
推荐相关文章:
OSWorkflow2.8中文文档
OSWorkflow2.8扩展源代码
JavaEye推荐
上海乐福狗信息技术有限公司:诚聘技术经理和开发工程师
免费下载IBM社区版软件--它基于开放的标准,支持广泛的开发类型,让您的开发高效自主!
京沪穗蓉四地免费注册,SOA技术高手汇聚交锋.
上海:优秀公司德比:高薪诚聘 资深Java工程师
广州:优易公司:诚聘Java工程师,开发经理
上海:尤恩斯国际集团:诚聘开发工程师
北京:优秀公司NHNChina招聘:WEB开发,系统管理,JAVA开发, DBA