Checkin SSH2 module
authorJamie Cameron <jcameron@webmin.com>
Sun, 30 Sep 2007 20:01:36 +0000 (20:01 +0000)
committerJamie Cameron <jcameron@webmin.com>
Sun, 30 Sep 2007 20:01:36 +0000 (20:01 +0000)
12 files changed:
ssh/config [new file with mode: 0644]
ssh/config.info [new file with mode: 0644]
ssh/config.info.es [new file with mode: 0644]
ssh/config.info.zh_TW.Big5 [new file with mode: 0644]
ssh/config.info.zh_TW.UTF-8 [new file with mode: 0644]
ssh/images/icon.gif [new file with mode: 0644]
ssh/images/smallicon.gif [new file with mode: 0644]
ssh/images/ssh.gif [new file with mode: 0644]
ssh/images/telnet.gif [new file with mode: 0644]
ssh/index.cgi [new file with mode: 0755]
ssh/mindtermfull.jar [new file with mode: 0644]
ssh/module.info [new file with mode: 0644]

diff --git a/ssh/config b/ssh/config
new file mode 100644 (file)
index 0000000..40bf2f3
--- /dev/null
@@ -0,0 +1 @@
+port=22
diff --git a/ssh/config.info b/ssh/config.info
new file mode 100644 (file)
index 0000000..36baf6f
--- /dev/null
@@ -0,0 +1,2 @@
+host=Hostname to connect to,3,Automatic
+port=Port to connect to,0
diff --git a/ssh/config.info.es b/ssh/config.info.es
new file mode 100644 (file)
index 0000000..9d92a1f
--- /dev/null
@@ -0,0 +1,2 @@
+host=Máquina a la que conectarse,3,Automática
+port=Puerto al que conectarse,0
diff --git a/ssh/config.info.zh_TW.Big5 b/ssh/config.info.zh_TW.Big5
new file mode 100644 (file)
index 0000000..a158e09
--- /dev/null
@@ -0,0 +1,2 @@
+host=­n³s±µªº¥D¾÷¦WºÙ,3,¦Û°Ê
+port=­n³s±µªº³q°T°ð,0
diff --git a/ssh/config.info.zh_TW.UTF-8 b/ssh/config.info.zh_TW.UTF-8
new file mode 100644 (file)
index 0000000..66c6b57
--- /dev/null
@@ -0,0 +1,2 @@
+port=要連接的通訊埠,0
+host=要連接的主機名稱,3,自動
diff --git a/ssh/images/icon.gif b/ssh/images/icon.gif
new file mode 100644 (file)
index 0000000..9b371fc
Binary files /dev/null and b/ssh/images/icon.gif differ
diff --git a/ssh/images/smallicon.gif b/ssh/images/smallicon.gif
new file mode 100644 (file)
index 0000000..6c95d35
Binary files /dev/null and b/ssh/images/smallicon.gif differ
diff --git a/ssh/images/ssh.gif b/ssh/images/ssh.gif
new file mode 100644 (file)
index 0000000..7756b9d
Binary files /dev/null and b/ssh/images/ssh.gif differ
diff --git a/ssh/images/telnet.gif b/ssh/images/telnet.gif
new file mode 100644 (file)
index 0000000..d5b09c6
Binary files /dev/null and b/ssh/images/telnet.gif differ
diff --git a/ssh/index.cgi b/ssh/index.cgi
new file mode 100755 (executable)
index 0000000..4d0188c
--- /dev/null
@@ -0,0 +1,37 @@
+#!/usr/local/bin/perl
+# index.cgi
+# Display the SSH applet
+
+require '../web-lib.pl';
+&init_config();
+&header("SSH Login", "images/ssh.gif", undef, 1, 1);
+
+$addr = $config{'host'} ? $config{'host'}
+                       : &to_ipaddress(&get_system_hostname());
+$config{'port'} = 22 if ($config{'port'} == 23);
+print <<EOF;
+<hr>
+<center><applet archive=mindtermfull.jar code=mindbright.application.MindTerm.class width=600 height=400>
+<param name=te value="xterm-color">
+<param name=gm value="80x24">
+<param name=server value="$addr">
+<param name=port value="$config{'port'}">
+<param name=cipher value="3des">
+<param name=sepframe value="false">
+<param name=quiet value="false">
+<param name=cmdsh value="true">
+<param name=verbose value="true">
+<param name=autoprops value="none">
+<param name=idhost value="false">
+<param name=quiet value="true">
+<param name=alive value="10">
+
+Your browser does not appear to support java, which this module
+requires to function. <p>
+</applet><br>
+Applet developed under GPL by <a href=http://www.mindbright.se/mindterm/>Mindbright</a>.
+</center>
+<hr>
+EOF
+&footer("/", "index");
+
diff --git a/ssh/mindtermfull.jar b/ssh/mindtermfull.jar
new file mode 100644 (file)
index 0000000..1c5e50d
Binary files /dev/null and b/ssh/mindtermfull.jar differ
diff --git a/ssh/module.info b/ssh/module.info
new file mode 100644 (file)
index 0000000..a77c076
--- /dev/null
@@ -0,0 +1,9 @@
+desc_zh_TW.Big5=SSH µn¤J
+desc=SSH Login
+desc_es=Login con SSH
+name=SSH
+desc_ko_KR.euc=SSH ·Î±×ÀÎ
+desc_ja_JP.euc=SSH ¥í¥°¥¤¥ó
+desc_zh_TW.UTF-8=SSH 登入
+desc_ja_JP.UTF-8=SSH ログイン
+desc_ko_KR.UTF-8=SSH 로그인