The JSSHell Project by eokuwwy

Introducing JSSHell – The Nerd Terminal jQuery/Grails/TerminalLib/J2SSH Test Harness


This project uses jQuery (Ajax), Grails, the Terminal Lib JS library for the terminal window, and J2SSH to connect to an SSH server on the backend.


Getting Started


  1. Get the project source from github: git@github.com:eokuwwy/JSSHell.git

  2. In Config.groovy, set the following properties with appropriate values:

    ssh.hostname="<hostname>" ssh.username="<username>" ssh.userpass="<password>"

  3. In the root directory of the project, type:
    grails run-app

  4. Navigate to: http://localhost:8080/JSSHell/term/index

Open the terminal, when you type a command the session will be established for the first time. You might have to accept the SSH key at this time. Check the output in the console.

Once the session is established, it will stay active until you kill the server or re-deploy the application. This allows it to be somewhat “interactive” inside of the JS terminal window.


Have fun and try not to dick up the server that you’re connected to!



cheerios

blog comments powered by Disqus