Sunday, November 9, 2014

Admin trick.

Need command line access, but the device you are using does not support a command line interface. Answer, set up a server or get access to a server with webmin installed. Then just use the command line interface via webmin.



or install firessh in a browser.


or set up a jar file on the local machine.

Download the software
http://weavervsworld.com/ssh/mindterm312.jar
or
http://weavervsworld.com/ssh/mindterm312.weavselfsign.jar

Then set up an html file either locally on on a server such as term.html. Then load term.html into your browser.

<html>
<body>
 <h4 class='heading'>Mindterm Applet Information</h4>
    <p class='centererror'><b>Keep this window open after the applet has loaded.</b></p>
   <object codetype='application/java-archive' classid='java:com.mindbright.application.MindTerm.class' archive='mindterm312.weavselfsign.jar'>
    <param name='sepframe' value='true' />
    <param name='debug' value='true' />
    <param name='protocol' value='ssh2' />
    <param name='server' value='' />
    <param name='port' value='22' />
    <param name='allow-new-server' value='true' />
    <param name='quiet' value='false' />
    <param name='alive' value='60' />
    <param name='80x132-enable' value='true' />
    <param name='80x132-toggle' value='true' />
    <param name='bg-color' value='black' />
    <param name='fg-color' value='white' />
    <param name='cursor-color' value='i_green' />
    <param name='geometry' value='132x35' />
   </object>
</body>
</html>


Note: the jar file should be in the same directory as the html file unless you designate otherwise in the html file. Usually sandbox the app when run.




If you do not want to store the jar file locally you can use:
<html>
<body>
 <h4 class='heading'>Mindterm Applet Information</h4>
    <p class='centererror'><b>Keep this window open after the applet has loaded.</b></p>
   <object codetype='application/java-archive' classid='java:com.mindbright.application.MindTerm.class' archive='http://weavervsworld.com/ssh/mindterm312.jar'>
    <param name='sepframe' value='true' />
    <param name='debug' value='true' />
    <param name='protocol' value='ssh2' />
    <param name='server' value='' />
    <param name='port' value='22' />
    <param name='allow-new-server' value='true' />
    <param name='quiet' value='false' />
    <param name='alive' value='60' />
    <param name='80x132-enable' value='true' />
    <param name='80x132-toggle' value='true' />
    <param name='bg-color' value='black' />
    <param name='fg-color' value='white' />
    <param name='cursor-color' value='i_green' />
    <param name='geometry' value='132x35' />
   </object>
</body>
</html>

No comments:

Post a Comment