Skip to content

SSH console to run a JavaScript shell on any Java application

Notifications You must be signed in to change notification settings

oweise/js-ssh-console

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

js-ssh-console

SSH console to run a JavaScript shell on any Java application

This is this the full source code of a listing for an article on JavaSPEKTRUM magazine. It provides the basic building blocks for adding a SSH server to a Java application providing a shell with access to the apps runtime objects. The shell runs JavaScript, provided by the "Nashorn" runtime implementation.

The folder "js-ssh-console" in this repository can be used as Eclipse project.

Prerequisites:

  • This needs Java 8 to work
  • Libs Apache SSHD and JLine2, provided in folder "js-ssh-console/lib", in classpath

About

SSH console to run a JavaScript shell on any Java application

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages