2011-01-27 Sancho Lerena <slerena@artica.es>

* ssh_console/howto_sign_applet.README,
        ssh_console/ssh_console.readme,
        vnc/VncViewer.jar,
        vnc/howto_selfsign_applet.README,
        ssh_console.php,
        vnc_view.php: VNC Extension now uses a signed Java applet to see
        remote servers. Added how to sign the cert on the SSH applet also.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3787 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
slerena 2011-01-30 13:34:11 +00:00
parent 8a0b7a871e
commit e4df0635e4
7 changed files with 44 additions and 7 deletions

View File

@ -1,3 +1,14 @@
2011-01-27 Sancho Lerena <slerena@artica.es>
* ssh_console/howto_sign_applet.README,
ssh_console/ssh_console.readme,
vnc/VncViewer.jar,
vnc/howto_selfsign_applet.README,
ssh_console.php,
vnc_view.php: VNC Extension now uses a signed Java applet to see
remote servers. Added how to sign the cert on the SSH applet also.
2011-01-27 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_db.php,

View File

@ -23,7 +23,7 @@ function main_ssh_console () {
?>
<div>
<APPLET CODE="com.mindbright.application.MindTerm.class" style="border: 2px;" ARCHIVE="extensions/ssh_console/mindterm.jar" WIDTH=600 HEIGHT=400>
<APPLET CODE="com.mindbright.application.MindTerm.class" style="border: 2px;" ARCHIVE="extensions/ssh_console/mindterm.jar" WIDTH=720 HEIGHT=500>
<PARAM NAME="sepframe" value="false">
<PARAM NAME="debug" value="false">
<param name="verbose" value="false">
@ -31,7 +31,7 @@ function main_ssh_console () {
<param name="fg-color" value="white">
<param name="resizable" value="true">
<param name="save-lines" value="2000">
<param name="menus" value="pop2">
<param name="menus" value="pop2"5>
<param name="exit-on-logout" value="true">
<PARAM NAME="server" value="<?PHP echo $ip; ?>">
</applet>

View File

@ -0,0 +1,8 @@
Follow the steps here: http://www-personal.umich.edu/~lsiden/tutorials/signed-applet/signed-applet.html
keytool -genkey
keytool -selfcert
jarsigner mindterm.jar mykey
Voila ! :-)

View File

@ -5,10 +5,14 @@ OpenSource (GPL).
https://sourceforge.net/projects/gsi-sshterm/
http://freshmeat.net/projects/sshtools-sshterm/
Commercial (we cannot redistribute the binary)
Commercial (we cannot redistribute the applet due license restrictions!)
http://www.cryptzone.com/products/agmindterm/
http://www.appgate.com/downloads/MindTerm-3.4/mindterm_3.4-bin.zip
In this extension we use Mindterm as default. just Get the JAR file and put on the extension/ssh_console directory with "mindterm.jar" filename. It will work.
Another option is to use a full-featured SSH like JCTerm, but it cannot use IP from pandora and you need to set it yourself :(
http://www.jcraft.com/jcterm/

Binary file not shown.

View File

@ -0,0 +1,9 @@
Get the original VNC Applet from the Tightvnc website.
Follow the steps here: http://www-personal.umich.edu/~lsiden/tutorials/signed-applet/signed-applet.html
keytool -genkey
keytool -selfcert
jarsigner VncViewer.jar mykey
Voila ! :-)

View File

@ -16,9 +16,14 @@
function vnc_view() {
$idAgent = (int)get_parameter('id_agente', 0);
$ipAgent = get_db_value('direccion', 'tagente', 'id_agente', $idAgent);
?>
<iframe width="95%" height="500px" src="http://<?php echo $ipAgent;?>:5801"></iframe>
<?php
echo '<APPLET CODE="VncViewer.class" ARCHIVE="extensions/vnc/VncViewer.jar" WIDTH=750 HEIGHT=800>';
echo '<param name="Host" value="'.$ipAgent.'">';
echo '<param name="Port" value="5901">';
echo '<PARAM NAME="Scaling factor" VALUE=75>';
echo '</APPLET>';
/* <iframe width="95%" height="500px" src="http://<?php echo $ipAgent;?>:5801"></iframe> */
}
add_extension_opemode_tab_agent('vnc_view', __('VNC view'), 'images/computer.png', 'vnc_view');